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

Issue #11660993 • Assigned to Steven K.

Details

Created
Apr 14, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 3 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.”

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

Sign in