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.2.1 lib/driver_extensions.rb
gridium-1.1.45 lib/driver_extensions.rb
gridium-1.1.44 lib/driver_extensions.rb
gridium-1.1.43 lib/driver_extensions.rb
gridium-1.1.42 lib/driver_extensions.rb
gridium-1.1.39 lib/driver_extensions.rb
gridium-1.1.38 lib/driver_extensions.rb
gridium-1.1.37 lib/driver_extensions.rb
gridium-1.1.36 lib/driver_extensions.rb
gridium-1.1.35 lib/driver_extensions.rb
gridium-1.1.34 lib/driver_extensions.rb
gridium-1.1.33 lib/driver_extensions.rb
gridium-1.1.32 lib/driver_extensions.rb
gridium-1.1.31 lib/driver_extensions.rb
gridium-1.1.30 lib/driver_extensions.rb
gridium-1.1.28 lib/driver_extensions.rb
gridium-1.1.25 lib/driver_extensions.rb
gridium-1.1.24 lib/driver_extensions.rb
gridium-1.1.23 lib/driver_extensions.rb
gridium-1.1.22 lib/driver_extensions.rb