Function click() works incorrectly with specific coordinates for control under <iframe> tag

Fixed, not yet flighted Issue #11660993

Details

Created
Apr 14, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 4 people

Sign in to watch or report this issue.

Steps to reproduce

Below is code:

System.setProperty("webdriver.edge.driver", "14393_MicrosoftWebDriver.exe");
WebDriver driver = new EdgeDriver();
driver.get("file:///D:/sample_test/sample_to_test.html");
Thread.sleep(5000);
driver.switchTo().frame(0);
WebElement element = driver.findElement(By.id("img"));
Actions clicker = new Actions(driver);
clicker.moveToElement(element, 50, 180).click().perform();

Expected: Perform click action at correct coordinates (50,180) on image control

When executing this code on my machine (our small test sample in attachment), the result shows that function performs click on control with unexpected coordinates (40, 161)

Note: This issue doesn’t occur on Chrome

Environments:

Windows 10 version 1607 (build 14393)
Microsoft Edge 14393
MicrosoftWebDrvier 14393

Attachments

1 attachment

Comments and activity

  • Changed Steps to Reproduce

  • Microsoft Edge Team

    Changed Assigned To to “Steven K.”

    Changed Assigned To to “Mike J.”

    Changed Assigned To from “Mike J.” to “John J.”

    Changed Title from “Function click() works incorrectly with specific coordinates for control under <iframe> tag” to “Function click() works incorrectly with specific coordinates for control under <iframe> tag”

    Changed Assigned To from “John J.” to “Mustapha J.”

    Changed Status to “Confirmed”

    Changed Status from “Confirmed” to “In code review”

    Changed Assigned To from “Mustapha J.” to “Clay M.”

    Changed Status from “In code review” to “Fixed”

  • When will the fix be available for download? Will it be an updated version of edge Webdriver?

    Thanks.

  • Microsoft Edge Team

    Changed Assigned To from “Clay M.” to “Mustapha J.”

    Changed Status from “Fixed”

    Changed Assigned To from “Mustapha J.” to “Clay M.”

    Changed Status to “Fixed”

  • This is fixed now and should be in a future insiders release. Please note there is an outstanding issue around this scenario on a high DPI device that we’re investigating.

  • Would this issue also address rightClick and doubleClick actions in Action api? Right now we are seeing issue with those actions as well? Right now we are doing the following to workaround which works in some cases but not all -

    element.click();
    new Actions(driver).contextClick().build().perform();

    Thanks.

  • Microsoft Edge Team

    Changed Status from “Fixed” to “Fixed, not yet flighted”

  • I have this issue too. When we can get the insiders release. It has a schedule?

    Thakns~

  • I tried with Windows 10 Insider Fast edition with insider version of webdriver -
    https://download.microsoft.com/download/1/4/1/14156DA0-D40F-460A-B14D-1B264CA081A5/MicrosoftWebDriver.exe

    The issue seems to be resolved.

  • Yes, I have tried it with Windows 10 Insider Fast edition with insider version. It is fixed.

    I have a question. When it will be released? Thanks~

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

Sign in