Sha256: e6ceeeda385a886e7cc0cb136888523b6dcb34810f310fef42ccd091126b2662

Contents?: true

Size: 304 Bytes

Versions: 3

Compression:

Stored size: 304 Bytes

Contents

require_relative "../lib/webdriver"
require "pry"
capabilities = {
  chromeOptions: {
    args: [
      '--window-size=800,600',
      '--window-position=0,0',
    ]
  }
}

wd = Webdriver::Client.new "http://localhost:9515/wd/hub", capabilities
s = wd.session!
w = s.windows.first

binding.pry
s.delete!

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
webdriver-0.4.0 examples/args.rb
webdriver-0.3.0 examples/args.rb
webdriver-0.2.0 examples/args.rb