Questions tagged [chrome-remote-debugging]

Chrome remote debugging utilises the chrome remote debugging interface to connections to a remotely running instance of Chrome and remote control of that instance. This can be used by test automation drivers like Selenium when interacting with Chrome.

49 questions
1
vote
0 answers

Map a local file to a remote URL for debugging

I have written a CLI app that helps me to deploy code from code.html to a specified URL address by clicking F5 (it's configured in launch.json thorugh Powershell extension) That command deploys my code, then opens a Chromium instance with the target…
1
vote
0 answers

Launch configuration in VS Code to connect to a Chrome instance which runs on a different computer?

I am aware that there is a million of questions which ask (and get answered) how to launch Chrome or attach to it and then debug a web site from within VS Code. I have nearly the same question, but in my case, the browser which should be debugged…
1
vote
1 answer

Get response of a API request made using chrome-remote-interface

I want to get the response data for the particular API call using chrome-remote-interface. I am not sure how to print the response. I am able to get the APIs that are being called using the demo code available in their GitHub repo. Mentioned a…
1
vote
1 answer

Chrome Remote DevTools Connection Drops after few minutes

I am using chrome://inspect/?#devices to connect with my android device. After ~20 minutes my device gets disconnected automatically every single time. After it gets discontinued my device asks for allowing usb device again. And if I run adb devices…
1
vote
0 answers

PWA freezes on a screen using mediaDevices.getUserMedia but the remote debugger shows that the app is working as expected

I'm working in an Angular PWA that allows the user to take a selfie and send it to a server. I've been debugging it in my computer and in current phone (That has Android 10) and it works just fine, but when I test it on a device with Android 11 the…
1
vote
1 answer

Different results in Chrome's F12 and CDP

The page https://www.bbc.co.uk/iplayer/live/bbcone I can query element “div.p_playerControls” in Chrome's F12 console: document.querySelector('div.p_playerControls') ==> div class=​"p_playerControls" style=​"display:​ block;​ clip:​ rect(1px,…
1
vote
1 answer

Visual Studio Code Chrome Debugger - Error on starting to debug

When Starting the chrome debugger inside of visual studio code, it shows a popup with an error stating "Cannot find debug adapter for type 'chrome'." I have already tried setting the remote-debugging-port to 9222 in the properties of Chrome as well…
1
vote
0 answers

Status : Debugger Session # 0 active

I am not able to find my files to debug when running the expo app on real android device through expo. How do I debug my app remotely ? RN version: 0.54 Expo SDK version: 30 React Version: "16.3.1" Kindly see the following image url to understand…
SAK
  • 31
  • 5
1
vote
1 answer

Use cUrl with Chrome remote debugging

I'm trying to connect to Chrome remote debuging with cUrl, however, responses from Chrome return "200 OK" but no data. I set up chrome using: chrome.exe --headless --remote-debugging-port=12345 I can successfully get a list of pages with: >curl -i…
LS_ᴅᴇᴠ
  • 10,823
  • 1
  • 23
  • 46
1
vote
1 answer

Setting up chrome debugger in dockerized node application returns `WebSockets request was expected`

I'm having trouble setting up chrome debugger within a dockerized node application. I've tried following https://github.com/nodejs/node/issues/11591 to no success. My application does run on PORT, but my chrome debugger always displays WebSockets…
1
vote
1 answer

Chrome remote debugging Basic Authentication

How can I do a basic authentication via chrome remote debugging? That is I have a chrome running in remote debug like this chrome.exe –remote-debugging-port=9222 then I use WebSocket4Net to comunicate with chrome. I would like to automate the basic…
1
vote
1 answer

Extracting nodeId from Selenium WebDriver for Chrome Remote Interface

I was able to invoke Chrome Remote Interface functions inside Selenium WebDriver session (Page.captureScreenshot, Emulation.clearDeviceMetricsOverride etc). But I have problem with invoking methods which work on DOM element. The problem is with…
1
vote
2 answers

Ionic App not shown in chrome://inspect

I am trying to debug my ionic app, running on android device. I tried out google chromee chrome://inspect url. But it doesn't give me access to my app. It just shows as given below :- It doesn't give any more information. Can anyone plese help me…
1
vote
0 answers

Devtools protocol working at the DOM level

I would like create test for the my website. I must click the button that open dialog and scrolling div. I have problem with "update DOM structure on the page". I don't see current DOM after click. When I run the code, which click the button in…
1
vote
1 answer

Unable to execute commands in Chromecast debugging Console

I was able to work with the Chromecast remote debugger (on port 9222) until few days ago. Suddenly it stopped working, each time I write a js command on che Console prompt and hit "Enter" all I get is a new line and the command does not get…