w3c / w3c/webdriver

Element Click fails on a <tr> with an even number of <td>'s

Open
#1,279 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Element Click
Dominant language
HTML
Stars
718
Forks
228
PR merge metrics
No merged PRs in 30d

Description

I'm not certain whether this is actually a WebDriver bug or a table bug. In any case when you click on the space between two 's in a events bound to the won't fire. This comes up as a regression because in JWP implementation it appears to use a script-based click which will fire the event. I've supplied a simple example which fails in all browsers with an actual mouse click and in Firefox/Edge with WebDriver. I know our version of click does do actual hit testing so we're as close to an actual user click as possible.
https://codepen.io/instylevii/pen/MBypYa

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the CodePen example and compare an actual mouse click with WebDriver's click behavior across the browsers mentioned. Determine whether the failure belongs to table event handling or WebDriver hit testing, then document the minimal reproducible behavior and the expected result.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.