Sha256: 4d37a5f90dc46dd6448a0f44ecb31d60d4027290ca42f35ee1c86f13c36b9cb9

Contents?: true

Size: 228 Bytes

Versions: 74

Compression:

Stored size: 228 Bytes

Contents

class DriverExtensions
  def self.open_new_window(url)
    Driver.execute_script_driver("window.open('#{url}')")
    sleep 1
  end

  def self.close_window
    Driver.execute_script_driver("window.close()")
    sleep 1
  end
end

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
gridium-1.1.21 lib/driver_extensions.rb
gridium-1.1.20 lib/driver_extensions.rb
gridium-1.1.17 lib/driver_extensions.rb
gridium-1.1.15 lib/driver_extensions.rb
gridium-1.1.14 lib/driver_extensions.rb
gridium-1.1.13 lib/driver_extensions.rb
gridium-1.1.11 lib/driver_extensions.rb
gridium-1.1.10 lib/driver_extensions.rb
gridium-1.1.9 lib/driver_extensions.rb
gridium-1.1.8 lib/driver_extensions.rb
gridium-1.1.7 lib/driver_extensions.rb
gridium-1.1.6 lib/driver_extensions.rb
gridium-1.1.4 lib/driver_extensions.rb
gridium-1.1.3 lib/driver_extensions.rb
gridium-1.1.2 lib/driver_extensions.rb
gridium-1.0.26 lib/driver_extensions.rb
gridium-1.0.25 lib/driver_extensions.rb
gridium-1.0.24 lib/driver_extensions.rb
gridium-1.0.22 lib/driver_extensions.rb
gridium-1.0.21 lib/driver_extensions.rb