w3c / w3c/webdriver

Duplicate pre-req for Element Click

Open
#1,105 4 comments 0 reactions 1 assignee View on GitHub

@andreastt is already working on this.

Since Sep 22, 2017.

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

Description

In chapter 14. Element Interaction, section 14.1 Element Click:

The Element Click command scrolls into view the element if it is not already pointer-interactable

Assuming my understanding per #1104 is correct, then this is redundant. scroll into view is a no-op if the element is not already in view, and elements in view are a superset of those which are pointer-interactable. Therefore, if we to repeat that behaviour we should use in view or (probably better) we should drop the redundant statement entirely.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.