selenium.webdriver.firefox.options

class selenium.webdriver.firefox.options.Log[source]
to_capabilities() → dict[source]
class selenium.webdriver.firefox.options.Options[source]
KEY = 'moz:firefoxOptions'
accept_insecure_certs
binary

Returns the FirefoxBinary instance

binary_location
Returns:The location of the binary.
default_capabilities

Return minimal capabilities necessary as a dictionary.

headless
Returns:True if the headless argument is set, else False
page_load_strategy
preferences
Returns:A dict of preferences.
profile
Returns:The Firefox profile to use.
proxy
Returns:Proxy if set, otherwise None.
set_preference(name: str, value: Union[str, int, bool])[source]

Sets a preference.

to_capabilities() → dict[source]

Marshals the Firefox options to a moz:firefoxOptions object.