Misclicks an element in a frame when using Actions API

Confirmed Issue #7439805 • Assigned to Mustapha J.

Details

Author
Shaldenko N.
Created
May 4, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 2 people

Sign in to watch or report this issue.

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:

driver.FindElement(By.TagName("button")).Click()

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)

Attachments

2 attachments

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!

  • Microsoft Edge Team

    Changed Assigned To from “Ben B.” to “Mustapha J.”

    Changed Status from “Confirmed” to “In progress”

    Changed Status from “In progress” to “Confirmed”

    Changed Title from “Microsoft WebDriver misclicks an element in a frame when using Actions API” to “Misclicks an element in a frame when using Actions API”

You need to sign in to your Microsoft account to add a comment.

Sign in