Microsoft WebDriver misclicks when using Actions API Click

Duplicate Issue #7450460 • See Issue #7439805

Details

Author
Shaldenko N.
Created
May 5, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Duplicates
See progress on Bug #7439805
Found in build #
25.10586
Reports
Reported by 1 person

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 Status to “Duplicate”

  • Thank you for the feedback. This issue appears to be a
    duplicate of

    https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7439805/

    We are currently investigating this issue.

    Best regards,

    The MS Edge Team

  • Yes, this is a duplicate.
    First issue creation lead to an 404 error and it could not be located by id, so I created another one.

    Thank you for the response.

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

Sign in