Understanding IEDriver capabilities

In this section, we will discuss some of the important capabilities of InternetExplorerDriver. This is where we have set the IEDriver capability to ignore the security domains. The code is as follows:

DesiredCapabilities ieCapabilities = DesiredCapabilities .internetExplorer(); ieCapabilities.setCapability(InternetExplorerDriver.INTRODUCE_FLAK INESS_BY_IGNORING_SECURITY_DOMAINS,true);

Similar to INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS, IEDriver has many other capabilities. The following is a list with an explanation on why it is used:

Capability Value to be Set Purpose
INITIAL_BROWSER_URL URL, for example, https://www.google.com This capability is set with the URL value that the driver should ...

Get Selenium WebDriver 3 Practical Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.