Skip to content

Conversation

@krichprollsch
Copy link
Member

Improve Playwright support with CDP

@krichprollsch krichprollsch added the CDP Chrome Debug Protocol label Feb 28, 2025
@krichprollsch krichprollsch self-assigned this Feb 28, 2025
@krichprollsch krichprollsch changed the title Cdp playwright cdp: improve playwright support Feb 28, 2025
The getTargetInfo result must return a `targetInfo` key.

Here is an example returned by Chrome:
```json
{
  "id": 16,
  "result": {
    "targetInfo": {
      "targetId": "d93a1bbc-f906-4bbb-bb4d-a2285234b091",
      "type": "browser",
      "title": "",
      "url": "",
      "attached": true,
      "canAccessOpener": false
    }
  }
}
```
When a command is forwarded to the inspector, it handles directly the
reponse to the message.
@krichprollsch krichprollsch merged commit 2a9bab3 into main Mar 10, 2025
9 checks passed
@krichprollsch krichprollsch deleted the cdp-playwright branch March 10, 2025 14:56
@github-actions github-actions bot locked and limited conversation to collaborators Mar 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CDP Chrome Debug Protocol

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants