Skip to content

[πŸ› Bug]: How to use CDP to capture console network requests in a remote Chrome browserΒ #14595

@jjqi92

Description

@jjqi92

What happened?

I want to grab network request data through cdp, but there has an error that the getDevTools() does not exists.

How can we reproduce the issue?

WebDriver driver = new RemoteWebDriver(new URL(hubUrl), options);
DevTools devTools = driver.getDevTools();

Relevant log output

no

Operating System

windows10

Selenium version

4.23.0

What are the browser(s) and version(s) where you see this issue?

chrome117

What are the browser driver(s) and version(s) where you see this issue?

chromedriver 117

Are you using Selenium Grid?

4.23.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!I-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions