selenium.webdriver.firefox.options

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

Add argument to be used for the browser process.

arguments[source]

Returns a list of browser process arguments.

binary[source]

Returns the FirefoxBinary instance

binary_location[source]

Returns the location of the binary.

capabilities
headless[source]

Returns whether or not the headless argument is set

preferences[source]

Returns a dict of preferences.

profile[source]

Returns the Firefox profile to use.

proxy[source]

returns Proxy if set otherwise None.

set_capability(name, value)

Sets a capability.

set_headless(headless=True)[source]

Deprecated, options.headless = True

set_preference(name, value)[source]

Sets a preference.

to_capabilities()[source]

Marshals the Firefox options to a moz:firefoxOptions object.

This Page