w3c / w3c/webdriver

Its unclear what to do if this fails

Open
#1,132 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

In chapter 7. Capabilities
, section 7.1 Proxy
:

If key is equal to "proxyType", let value be the result of lowercasing value.

  1. If value is not one of the valid values for that key, return an error with error code invalid argument.
    I think this should be reordered so that we check the valid value of the value of proxyType and then return error code invalid argument if it should fail

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 read chapter 7, section 7.1, Proxy, around the proxyType normalization and valid-value check. Clarify the sequence so the failure case and invalid argument error are unambiguous, then verify the surrounding capabilities text remains consistent.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.