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.WhenNested classes/interfaces inherited from interface org.openqa.selenium.WebDriver
WebDriver.Navigation, WebDriver.Options, WebDriver.TargetLocator, WebDriver.Timeouts, WebDriver.Window -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringCapability that defines timeout in milliseconds for attaching to new browser window.static final StringCapability that defines how elements are scrolled into view in the InternetExplorerDriver.static final StringCapability that defines to use or not cleanup of element cache on document loading.static final StringCapability that defines to use persistent hovering or not.static final StringCapability that defines launch API of IE used by IEDriverServer.static final StringCapability that defines to clean or not browser cache before launching IE by IEDriverServer.static final StringCapability that defines used IE CLI switches whenFORCE_CREATE_PROCESSis enabled.static final StringCapability that defines setting the proxy information for a single IE process without affecting the proxy settings of other instances of IE.static final StringCapability that defines whether to ignore the browser zoom level or not.static final StringCapability that defines the initial URL to be used when IE is launched.static final StringCapability that defines to ignore browser protected mode settings during starting by IEDriverServer.static final StringDeprecated.Non W3C compliantstatic final StringCapability that defines to focus to browser window or not before operation.Fields inherited from class org.openqa.selenium.remote.RemoteWebDriver
capabilities -
Constructor Summary
ConstructorsConstructorDescriptionInternetExplorerDriver(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 voidstatic RemoteWebDriverBuilderbuilder()voidsetFileDetector(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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openqa.selenium.HasDownloads
requireDownloadsEnabledMethods 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_PROCESSis 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. Theservicewill 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:RemoteWebDriverSet the file detector to be used when sending keyboard input. By default, this is set to a file detector that does nothing.- Overrides:
setFileDetectorin classRemoteWebDriver- Parameters:
detector- The detector to use. Must not be null.- See Also:
-
assertOnWindows
protected void assertOnWindows()
-