w3c / w3c/webdriver

Have ability to receive session capabilities during run time

Open
#1,456 1 comment 1 reaction 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

When someone initiates a WebDriver session the capabilities are provided in the session response. For many framework implementations these capabilities are valuable information to reason about the features that are supported.

Currently there is no way to get these information after the session has been initiated. This becomes problematic if you want to attach to an already running session. The JSON Wire Protocol had such an endpoint. Was there a reason why this endpoint was not spec'ed in WebDriver? Would there be a general consensus to bring it back?

ref: webdriverio/webdriverio#4651

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 reviewing the WebDriver session response and the referenced JSON Wire Protocol GET /session/{sessionId} endpoint. The issue does not name repository files or tests; done would require a decided specification for retrieving capabilities from an already running session.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.