w3c / w3c/webdriver

Remove browsing context argument for "get or create a node reference"

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

Nobody has claimed this yet.

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

Description

Given that the browsing context of the node is required to store the node reference there is no need to pass the browsing context as additional argument. Instead it can directly retrieved from the node argument.

https://w3c.github.io/webdriver/#dfn-get-or-create-a-node-reference

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

Open the linked WebDriver specification and locate the “get or create a node reference” definition. Confirm how the browsing context is obtained from the node, remove the redundant argument from the definition and its uses, and verify that the specification consistently describes the updated operation.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.