Package dev.galasa.selenium
Interface IChromeOptions
public interface IChromeOptions
A Options pass through interface for the Selenium Options object
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addArguments
(String... arguments) void
addArguments
(List<String> arguments) void
addEncodedExtensions
(String... encoded) void
addEncodedExtensions
(List<String> encoded) void
addExtensions
(File... paths) void
addExtensions
(List<File> paths) asMap()
getCapability
(String capabilityName) getExperimentalOption
(String name) Deprecated, for removal: This API element is subject to removal in a future version.org.openqa.selenium.Platform
boolean
boolean
isJavaScriptEnabled
(String capabilityName) void
setAcceptInsecureCerts
(boolean bool) void
void
void
setCapability
(String key, Boolean value) void
setCapability
(String key, Object value) void
setCapability
(String key, String value) void
setCapability
(String key, org.openqa.selenium.Platform value) void
setExperimentalOption
(String key, org.openqa.selenium.Platform value) void
setHeadless
(boolean bool) Deprecated, for removal: This API element is subject to removal in a future version.UseaddArguments(arguments)
instead.void
setPageLoadStrategy
(org.openqa.selenium.PageLoadStrategy strategy) void
setProxy
(org.openqa.selenium.Proxy proxy) void
setUnhandledPromptBehaviour
(org.openqa.selenium.UnexpectedAlertBehaviour behaviour)
-
Method Details
-
addEncodedExtensions
-
addEncodedExtensions
-
addExtensions
-
addExtensions
-
setAcceptInsecureCerts
void setAcceptInsecureCerts(boolean bool) -
setHeadless
Deprecated, for removal: This API element is subject to removal in a future version.UseaddArguments(arguments)
instead. -
setBinary
-
setBinary
-
addArguments
-
addArguments
-
setCapability
-
setCapability
-
setCapability
-
setCapability
-
setExperimentalOption
-
setPageLoadStrategy
void setPageLoadStrategy(org.openqa.selenium.PageLoadStrategy strategy) -
setProxy
void setProxy(org.openqa.selenium.Proxy proxy) -
setUnhandledPromptBehaviour
void setUnhandledPromptBehaviour(org.openqa.selenium.UnexpectedAlertBehaviour behaviour) -
asMap
-
getBrowserName
String getBrowserName() -
getCapability
-
getCapabilityNames
-
getExperimentalOption
Deprecated, for removal: This API element is subject to removal in a future version.UsegetCapability(string)
instead. -
getPlatform
org.openqa.selenium.Platform getPlatform() -
getVersion
String getVersion() -
is
-
isJavaScriptEnabled
-
getCapability(string)
instead.