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) 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) 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
void setHeadless(boolean bool) -
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
-
getPlatform
org.openqa.selenium.Platform getPlatform() -
getVersion
String getVersion() -
is
-
isJavaScriptEnabled
-