chrome-devtools-protocol Questions

1

I am wishing to collect the body of an HTTP request, including when the page redirects to elsewhere. Clearly, I can use non-Fetch domain mechanisms such as Network.getResponseBody. That works fine ...
Warhol asked 17/12, 2020 at 14:42

1

Solved

In the console of chrome devtools there is a dropdown at the top to select the execution context. Here is an example when on www.google.com Changing the execution context changes the available glo...
Fob asked 17/8, 2022 at 13:19

2

Solved

I'm trying to create an app that uses the WebView2 WPF component. Currently I'm working on logging the messages and errors that are written by the javascript code of the websites using console.log(...
Lunitidal asked 21/2, 2021 at 14:24

2

I am running puppeteer with headless mode off in order to automate and remotely control a visible Chromium browser on another computer. Is there a way to trigger or emulate zooming on the browser ...
Jaclynjaco asked 5/9, 2019 at 9:23

3

I read the whole Puppeteer documentation, but unfortunately, they don't have any documentation for the _client property of page. So my question is, what is page._client ? And what is the difference...
Golter asked 5/6, 2021 at 22:5

0

I'm trying to intercept WebWorker requests by sending Fetch.enable in a worker target session, but got a "'Fetch.enable' wasn't found" error from Chromium. Does that mean Chromium not sup...

2

I was trying to intercept ws messages in my chrome devtools extension. This question helped me. This is exactly what I need, but the only problem is that it this works only if websocket messeages a...

1

I've built and installed Selenium 4.0.0-beta-1 python wheel from source to test CDP functionalities. Specifically I would like to intercept requests using Fetch Domain protocol. I can enable the do...
Franck asked 16/2, 2021 at 15:39

0

I would please like to know: What is the purpose of the Network.loadingFinished event? What exactly does the documentation mean when it says, "Fired when HTTP request has finished loading?&qu...
Unessential asked 28/2, 2021 at 16:12

1

Solved

How can I run a custom js function in playwright? For example show an alert. I have already tried this way but it did not work. var url = await page.evaluate(async() => { await function alert()...

1

Solved

I am trying to call this method in the devtools protcol Network.setRequestInterception. So Far I have this: IDevTools devTools = driver as IDevTools; DevToolsSession session = devTools.CreateDevTo...

2

Solved

In Firefox it is possible to see events associated with each element in Inspect Element of developers tools. I want to have a list of elements and events associated with it, programmatically. pre...

2

I'm trying to create communication between simple Java App (using java.net.http.WebSocket class) and remote google-chrome run using google-chrome --remote-debugging-port=9222 --user-data-dir=. Sen...

1

Solved

I know that Fetch Domain is used for this purpose but I do not know how exactly I can implement it. In Selenium python, I used the following code to enable issuing of requestPaused events. driver....

1

Solved

I'm trying to use the Chrome DevTools Protocol (CDP) to intercept web requests and modify them. The problem is that I need to modify the headers of a WebSocket request. Is this possible? I can m...

1

Solved

By using selenium, can I access the browsers element picker (Ctrl + Shift + C, in the browser) that is located in the inspect tab? I want to "point" to an element using that picker and have it be ...
1

© 2022 - 2024 — McMap. All rights reserved.