Sha256: 1930282905aa264b569b7a4e4f59848da072e9c0ebf6ee1461ff50186f13fa4d

Contents?: true

Size: 301 Bytes

Versions: 1

Compression:

Stored size: 301 Bytes

Contents

require_relative "../lib/webdriver"

capabilities = {
  chromeOptions: {
    args: [
      '--window-size=800,600',
      '--window-position=100,100',
    ]
  }
}

wd = Webdriver::Client.new "http://localhost:9515/wd/hub", capabilities
session = wd.session
p session.windows.first.rect
session.delete

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webdriver-0.1.2 examples/args.rb