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 ... |