Missing information on target types and their supported domains

Open
#311 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
api, documentation

Research direction

Start by reviewing the formal protocol definitions and the TargetInfo.type description. Document the possible target types and the domains supported by each target type, along with the target types supported by each domain; done means this information is available directly in the protocol definitions rather than only in Chromium source constants.

Written by the indexing model from the issue text.

Description

In the formal protocol definitions, we get a list of domains (with details about types, commands, and events).

However, not all targets support all domains, and there is currently no place in the protocol definitions that lists the domains supported by each target type, or the target types support by each domain.

There isn't even a list of the possible target types themselves: the TargetInfo.type description just points to constants defined in Chromium source code, which makes it impossible to parse automatically.

Could this information be added somehow?

Dominant language
JavaScript
Stars
1.6k
Forks
291
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from ChromeDevTools/devtools-protocol

All issues in ChromeDevTools/devtools-protocol

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.