Package org.openqa.selenium.ie
Class InternetExplorerDriver
java.lang.Object
org.openqa.selenium.remote.RemoteWebDriver
org.openqa.selenium.ie.InternetExplorerDriver
- All Implemented Interfaces:
HasFederatedCredentialManagement
,HasCapabilities
,HasDownloads
,Interactive
,JavascriptExecutor
,PrintsPage
,SearchContext
,TakesScreenshot
,HasVirtualAuthenticator
,WebDriver
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openqa.selenium.remote.RemoteWebDriver
RemoteWebDriver.RemoteTargetLocator, RemoteWebDriver.RemoteWebDriverOptions, RemoteWebDriver.When
Nested classes/interfaces inherited from interface org.openqa.selenium.WebDriver
WebDriver.Navigation, WebDriver.Options, WebDriver.TargetLocator, WebDriver.Timeouts, WebDriver.Window
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Capability that defines timeout in milliseconds for attaching to new browser window.static final String
Capability that defines how elements are scrolled into view in the InternetExplorerDriver.static final String
Capability that defines to use or not cleanup of element cache on document loading.static final String
Capability that defines to use persistent hovering or not.static final String
Capability that defines launch API of IE used by IEDriverServer.static final String
Capability that defines to clean or not browser cache before launching IE by IEDriverServer.static final String
Capability that defines used IE CLI switches whenFORCE_CREATE_PROCESS
is enabled.static final String
Capability that defines setting the proxy information for a single IE process without affecting the proxy settings of other instances of IE.static final String
Capability that defines whether to ignore the browser zoom level or not.static final String
Capability that defines the initial URL to be used when IE is launched.static final String
Capability that defines to ignore browser protected mode settings during starting by IEDriverServer.static final String
Deprecated.Non W3C compliantstatic final String
Capability that defines to focus to browser window or not before operation. -
Constructor Summary
ConstructorDescriptionInternetExplorerDriver
(InternetExplorerDriverService service, InternetExplorerOptions options) InternetExplorerDriver
(InternetExplorerDriverService service, InternetExplorerOptions options, ClientConfig clientConfig) Creates a new InternetExplorerDriver instance with the specified options. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
static RemoteWebDriverBuilder
builder()
void
setFileDetector
(FileDetector detector) Set the file detector to be used when sending keyboard input.Methods inherited from class org.openqa.selenium.remote.RemoteWebDriver
addVirtualAuthenticator, close, deleteDownloadableFiles, downloadFile, execute, execute, execute, executeAsyncScript, executeScript, findElement, findElements, findElements, get, getCapabilities, getCommandExecutor, getCurrentUrl, getDownloadableFiles, getElementConverter, getErrorHandler, getExecuteMethod, getFederatedCredentialManagementDialog, getFileDetector, getPageSource, getScreenshotAs, getSessionId, getTitle, getWindowHandle, getWindowHandles, log, manage, navigate, network, perform, print, quit, removeVirtualAuthenticator, resetCooldown, resetInputState, script, setCommandExecutor, setDelayEnabled, setElementConverter, setErrorHandler, setFoundBy, setLogLevel, setSessionId, startSession, switchTo, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.openqa.selenium.HasDownloads
requireDownloadsEnabled
Methods inherited from interface org.openqa.selenium.JavascriptExecutor
executeScript, getPinnedScripts, pin, unpin
-
Field Details
-
IGNORE_ZOOM_SETTING
Capability that defines whether to ignore the browser zoom level or not.- See Also:
-
NATIVE_EVENTS
Deprecated.Non W3C compliantCapability that defines to use whether to use native or javascript events during operations.- See Also:
-
INITIAL_BROWSER_URL
Capability that defines the initial URL to be used when IE is launched.- See Also:
-
ELEMENT_SCROLL_BEHAVIOR
Capability that defines how elements are scrolled into view in the InternetExplorerDriver.- See Also:
-
ENABLE_ELEMENT_CACHE_CLEANUP
Capability that defines to use or not cleanup of element cache on document loading.- See Also:
-
BROWSER_ATTACH_TIMEOUT
Capability that defines timeout in milliseconds for attaching to new browser window.- See Also:
-
INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS
Capability that defines to ignore browser protected mode settings during starting by IEDriverServer.Setting this capability will make your tests unstable and hard to debug.
- See Also:
-
ENABLE_PERSISTENT_HOVERING
Capability that defines to use persistent hovering or not.- See Also:
-
REQUIRE_WINDOW_FOCUS
Capability that defines to focus to browser window or not before operation.- See Also:
-
FORCE_CREATE_PROCESS
Capability that defines launch API of IE used by IEDriverServer.- See Also:
-
IE_ENSURE_CLEAN_SESSION
Capability that defines to clean or not browser cache before launching IE by IEDriverServer.- See Also:
-
IE_USE_PER_PROCESS_PROXY
Capability that defines setting the proxy information for a single IE process without affecting the proxy settings of other instances of IE.- See Also:
-
IE_SWITCHES
Capability that defines used IE CLI switches whenFORCE_CREATE_PROCESS
is enabled.- See Also:
-
-
Constructor Details
-
InternetExplorerDriver
public InternetExplorerDriver() -
InternetExplorerDriver
-
InternetExplorerDriver
-
InternetExplorerDriver
public InternetExplorerDriver(InternetExplorerDriverService service, InternetExplorerOptions options) -
InternetExplorerDriver
public InternetExplorerDriver(InternetExplorerDriverService service, InternetExplorerOptions options, ClientConfig clientConfig) Creates a new InternetExplorerDriver instance with the specified options. Theservice
will be started along with the driver, and shutdown upon callingRemoteWebDriver.quit()
.- Parameters:
service
- The service to use.options
- The options required from InternetExplorerDriver.
-
-
Method Details
-
builder
-
setFileDetector
Description copied from class:RemoteWebDriver
Set the file detector to be used when sending keyboard input. By default, this is set to a file detector that does nothing.- Overrides:
setFileDetector
in classRemoteWebDriver
- Parameters:
detector
- The detector to use. Must not be null.- See Also:
-
assertOnWindows
protected void assertOnWindows()
-