selenium.webdriver.safari.options¶
Classes
Log |
|
Options () |
-
class
selenium.webdriver.safari.options.
Options
[source]¶ -
AUTOMATIC_INSPECTION
= 'safari:automaticInspection'¶
-
AUTOMATIC_PROFILING
= 'safari:automaticProfiling'¶
-
BINARY_LOCATION_ERROR
= 'Binary Location Must be a String'¶
-
SAFARI_TECH_PREVIEW
= 'Safari Technology Preview'¶
-
add_argument
(argument)¶ Adds an argument to the list.
Args: - Sets the arguments
-
arguments
¶ Returns: A list of arguments needed for the browser.
-
automatic_inspection
¶ Get or Set Automatic Inspection value:
- Get
- self.automatic_inspection
- Set
- self.automatic_inspection = value
value: bool
-
automatic_profiling
¶ Get or Set Automatic Profiling value:
- Get
- self.automatic_profiling
- Set
- self.automatic_profiling = value
value: bool
-
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.
-
set_capability
(name, value) → None¶ Sets a capability.
-
to_capabilities
()¶ Convert options into capabilities dictionary.
-
use_technology_preview
¶ Get and Set Technology Preview:
- Get
- self.use_technology_preview
- Set
- self.use_technology_preview = value
value: bool
-