Browser
Configuration
Keys in settings file, e.g. _wasd_settings.yml:
urlrequired: Your app URL;implicit_timeout: Implicit wait timeout in seconds, default5;window_size:'maximize'or explicitly'1280x1024', default'800x600';protocol: remote WebDriver protocol, default'http';host: remote WebDriver host, default'localhost';port: remote WebDriver port, default'4444';path: remote WebDriver path, default'/wd/hub';foo_bar_baz: any data, e.g.:
username: 'admin'
password: 'themostsecurepasswordintheworld'capabilitiesrequired: Selenium desired capabilities, e.g. for Chrome:
capabilities:
browserName: 'chrome'
unexpectedAlertBehaviour: 'accept'
loggingPrefs:
browser: 'INFO'
chromeOptions:
args: ['--disable-infobars']Locating Elements
Most methods operate on a DOM element. Locator must be instance ofElement class.
Last updated