Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define click behavior for imagemaps #1411

Open
barancev opened this issue Apr 10, 2019 · 0 comments
Open

Define click behavior for imagemaps #1411

barancev opened this issue Apr 10, 2019 · 0 comments

Comments

@barancev
Copy link

This sample of code throws "element not interactable" in Firefox

driver.get("https://output.jsbin.com/gegatap");
driver.findElement(By.id("rectG")).click();

See https://bugzilla.mozilla.org/show_bug.cgi?id=1502636

As noted in comments

"This only fails for clicks when having the webdriver compat mode enabled. The reason is that the element is basically not visible but overlays the specified image reference, and as such doesn't appear in the paint tree.

As such the check should be performed against the referenced image but not the area or map element."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant