Open
Bug 1502636
Opened 6 years ago
Updated 2 years ago
click on Imagemap throws "element not interactable" exception
Categories
(Remote Protocol :: Marionette, defect, P5)
Tracking
(Not tracked)
NEW
People
(Reporter: barancev, Unassigned)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
(deleted),
text/x-log
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36
Steps to reproduce:
Run this code using Selenium client (Java binding):
driver.get("https://output.jsbin.com/gegatap");
driver.findElement(By.id("rectG")).click();
Actual results:
400 Bad Request {"value":{"error":"element not interactable","message":"Element <area id=\"rectG\" href=\"https://www.seleniumhq.org/projects/\"> could not be scrolled into view" ...
Trace log attached.
Comment 1•6 years ago
|
||
This only fails for clicks when having the webdriver compat mode enabled. The reason is that the <map> 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.
Andreas, I wonder if this would need an extension of the WebDriver spec, because nothing really specializes image maps there yet.
Comment 2•6 years ago
|
||
Yes, this is a known bug with algorithm that’s currently set out
in the specification.
barancev: If you could file an issue against the specification when
you have time that would be great.
Flags: needinfo?(ato)
Updated•6 years ago
|
Priority: -- → P5
Comment 3•6 years ago
|
||
(In reply to Andreas Tolfsen ⦗:ato⦘ from comment #2)
barancev: If you could file an issue against the specification when
you have time that would be great.
Hi Alexei, did you have the time for that already? If yes, can you please us know about the issue?
Updated•6 years ago
|
Flags: needinfo?(barancev)
Reporter | ||
Comment 4•6 years ago
|
||
Submitted: https://github.com/w3c/webdriver/issues/1411
Flags: needinfo?(barancev)
Updated•4 years ago
|
Updated•2 years ago
|
Severity: normal → S3
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•