selenium.webdriver.firefox.options¶
Classes
Log () |
|
Options () |
-
class
selenium.webdriver.firefox.options.
Options
[source]¶ -
KEY
= 'moz:firefoxOptions'¶
-
binary
¶ Returns the FirefoxBinary instance.
-
binary_location
¶ Returns: The location of the binary.
-
default_capabilities
¶ Return minimal capabilities necessary as a dictionary.
-
enable_mobile
(android_package: str = 'org.mozilla.firefox', android_activity=None, device_serial=None)[source]¶ Enables mobile browser use for browsers that support it.
Args: android_activity: The name of the android package to start
-
headless
¶ Returns: True if the headless argument is set, else False
-
preferences
¶ Returns: A dict of preferences.
-
profile
¶ Returns: The Firefox profile to use.
-