Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Capabilities

Sean Gregory edited this page Oct 9, 2021 · 1 revision

To start the driver with capabilities

# see the api documentation for a full list of params.

caps = Webdriver::Capabilities::Chrome.new(insecure_certs: true, args: ["no-sandbox","headless", "disable-dev-shm-usage"]) 
browser = Webdriver::Browser.new :chrome, capabilities: caps

You can pass in timeouts and proxy objects into the capabilities constructor

browser specific options are called on the capabilities object. If you find options that aren't supported, make an issue and I will add them in.

Clone this wiki locally