selenium.webdriver.webkitgtk.options

Classes

Options()
class selenium.webdriver.webkitgtk.options.Options[source]
BINARY_LOCATION_ERROR = 'Binary Location Must be a String'
KEY = 'webkitgtk:browserOptions'
add_argument(argument)

Adds an argument to the list.

Args:
  • Sets the arguments
arguments
Returns:A list of arguments needed for the browser.
binary_location
Returns:The location of the browser binary otherwise an empty

string.

capabilities
default_capabilities

Return minimal capabilities necessary as a dictionary.

enable_mobile(android_package: Optional[str, None] = None, android_activity: Optional[str, None] = None, device_serial: Optional[str, None] = None) → None

Enables mobile browser use for browsers that support it.

Args:android_activity: The name of the android package to start
ignore_local_proxy_environment_variables() → None

By calling this you will ignore HTTP_PROXY and HTTPS_PROXY from being picked up and used.

overlay_scrollbars_enabled
Returns:Whether overlay scrollbars should be enabled.
set_capability(name, value) → None

Sets a capability.

to_capabilities()[source]

Creates a capabilities with all the options that have been set and returns a dictionary with everything.