public class Mac2Options extends BaseOptions<Mac2Options> implements SupportsSystemPortOption<Mac2Options>, SupportsSystemHostOption<Mac2Options>, SupportsWebDriverAgentMacUrlOption<Mac2Options>, SupportsBootstrapRootOption<Mac2Options>, SupportsBundleIdOption<Mac2Options>, SupportsArgumentsOption<Mac2Options>, SupportsEnvironmentOption<Mac2Options>, SupportsServerStartupTimeoutOption<Mac2Options>, SupportsSkipAppKillOption<Mac2Options>, SupportsShowServerLogsOption<Mac2Options>, SupportsPrerunOption<Mac2Options,AppleScriptData>, SupportsPostrunOption<Mac2Options,AppleScriptData>
SYSTEM_PORT_OPTIONSYSTEM_HOST_OPTIONWEB_DRIVER_AGENT_MAC_URL_OPTIONBOOTSTRAP_ROOT_OPTIONBUNDLE_ID_OPTIONARGUMENTS_OPTIONENVIRONMENT_OPTIONSERVER_STARTUP_TIMEOUT_OPTIONSKIP_APP_KILL_OPTIONSHOW_SERVER_LOGS_OPTIONPRERUN_OPTIONPOSTRUN_OPTIONAUTOMATION_NAME_OPTIONEVENT_TIMINGS_OPTIONPRINT_PAGE_SOURCE_ON_FIND_FAILURE_OPTIONNO_RESET_OPTIONFULL_RESET_OPTIONNEW_COMMAND_TIMEOUT_OPTIONBROWSER_NAME_OPTIONPLATFORM_VERSION_OPTION| Constructor and Description |
|---|
Mac2Options() |
Mac2Options(org.openqa.selenium.Capabilities source) |
Mac2Options(java.util.Map<java.lang.String,?> source) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<AppleScriptData> |
getPostrun()
Get the postrun script.
|
java.util.Optional<AppleScriptData> |
getPrerun()
Get the prerun script.
|
Mac2Options |
setPostrun(AppleScriptData script)
An object containing either script or command key.
|
Mac2Options |
setPrerun(AppleScriptData script)
An object containing either script or command key.
|
asMap, clone, getCapability, getPlatformName, merge, setCapability, setPlatformName, toW3cNameequals, getCapabilityNames, hashCode, setCapability, setCapability, setCapability, toJson, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetSystemPort, setSystemPortgetSystemHost, setSystemHostgetWebDriverAgentMacUrl, setWebDriverAgentMacUrl, setWebDriverAgentMacUrlgetBootstrapRoot, setBootstrapRootgetBundleId, setBundleIdgetArguments, setArgumentsgetEnvironment, setEnvironmentgetServerStartupTimeout, setServerStartupTimeoutdoesSkipAppKill, setSkipAppKill, skipAppKilldoesShowServerLogs, setShowServerLogs, showServerLogsasMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, mergeamend, setCapabilitygetAutomationName, setAutomationNamedoesEventTimings, eventTimings, setEventTimingsdoesPrintPageSourceOnFindFailure, printPageSourceOnFindFailure, setPrintPageSourceOnFindFailuredoesNoReset, noReset, setNoResetdoesFullReset, fullReset, setFullResetgetNewCommandTimeout, setNewCommandTimeoutwithBrowserNamegetPlatformVersion, setPlatformVersionpublic Mac2Options()
public Mac2Options(org.openqa.selenium.Capabilities source)
public Mac2Options(java.util.Map<java.lang.String,?> source)
public Mac2Options setPrerun(AppleScriptData script)
setPrerun in interface SupportsPrerunOption<Mac2Options,AppleScriptData>script - A valid AppleScript snippet.public java.util.Optional<AppleScriptData> getPrerun()
getPrerun in interface SupportsPrerunOption<Mac2Options,AppleScriptData>public Mac2Options setPostrun(AppleScriptData script)
setPostrun in interface SupportsPostrunOption<Mac2Options,AppleScriptData>script - A valid AppleScript snippet.public java.util.Optional<AppleScriptData> getPostrun()
getPostrun in interface SupportsPostrunOption<Mac2Options,AppleScriptData>