webdriver.firefox.options

Module Contents

Classes

Log(self)
Options(self)
class Log
__init__()
to_capabilities()
class Options
__init__()
binary()

Returns the FirefoxBinary instance

binary(new_binary)

Sets location of the browser binary, either by string or FirefoxBinary instance.

binary_location()

Returns the location of the binary.

binary_location(value)

Sets the location of the browser binary by string

preferences()

Returns a dict of preferences.

set_preference(name, value)

Sets a preference.

proxy()

returns Proxy if set otherwise None.

proxy(value)
profile()

Returns the Firefox profile to use.

profile(new_profile)

Sets location of the browser profile to use, either by string or FirefoxProfile.

arguments()

Returns a list of browser process arguments.

add_argument(argument)

Add argument to be used for the browser process.

headless()

Returns whether or not the headless argument is set

set_headless(headless=True)

Sets the headless argument

Args:
headless: boolean value indicating to set the headless option
to_capabilities()

Marshals the Firefox options to a moz:firefoxOptions object.