Steps to reproduce
Bindings - C#, 2.53.0
Edge versions - 25.10586.0.0, 37.14316.1000.0 (tried both)
WebDriver versions - 10.0.10586.0, 10.0.14316.1000 (tried both)
- create a simple html with a frame (see attachments)
- create and run a simple test:
var driver = new EdgeDriver(); driver.Navigate().GoToUrl("http://localhost/index.html"); driver.SwitchTo().DefaultContent(); driver.SwitchTo().Frame("right"); new Actions(driver).Click(driver.FindElement(By.TagName("button"))).Perform();
Reuslt: button is not clicked
In the same time the following code does click the button:
The Actions API actually clicks, but not in the right place. I have a page with several different buttons on screen and when I try to click any button another one is getting clicked (seems like elements coordinates are incorrectly calculated inside frames)
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Ibrahim O.”
Changed Assigned To to “Mara P.”
Changed Assigned To from “Mara P.” to “Ben B.”
Changed Status to “Confirmed”
Changed Title from “Microsoft WebDriver misclicks an element in a frame when using Actions API” to “Microsoft WebDriver misclicks an element in a frame when using Actions API”
Hi, just wanted to ask is there any progress on the issue or maybe you need some additional info?
The issue actually blocks any automated testing on pages with two frames and relatively complex set of controls.
Thank you in advance!