Steps to reproduce
We normally uses the following three ways to bring a browser to foreground :
WebDriver driver = getDriver();
String currentWindowHandle = driver.getWindowHandle();
Unfortunately none of the above works in case of Edge. Are there other ways to achieve bringing Edge browser to foreground? I am using Selenium 2.53.0 and MicrosoftWebDriver 14393.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “James M.”
Changed Assigned To to “Mara P.”
Changed Status to “By design”
There is no API in WebDriver to bring the browser to the foreground. Some browsers do this as a part as a side effect of doing something else.