Filter only the requests with errors – Google chrome network

I found my own way to it so it’s not official and other approaches may exist. Option 1: Filtering HTTP Status Codes You can filter responses by their status code — Here’s a useful list with all HTTP’s Status Codes. AFAIK this filtering feature has been working for years. It’s through the status-code property (you … Read more

Is there any way to keep Developer Tools open when debugging a Chrome Extension?

There are two ways to accomplish this. Click on the Dev Tools popup so the window is focused and then press F5. This will reload the popup and Dev Tools, and will not cause the Dev Tools window to close. If that doesn’t work for you, go to chrome-extension://extensionid/path/to/popup.html on a separate tab on Chrome. … Read more

How can I correctly provide a mock webcam video to Chrome?

After reading the link you provided I noticed that we can also provide an mjpeg. Depending on what your test requirements – this may be sufficient for you. As a terminal command with ffmpeg installed: ffmpeg -i oldfile.mp4 newfile.mjpeg then I tested by running Google Chrome from the terminal using: google-chrome –use-fake-device-for-media-stream –use-file-for-fake-video-capture=newfile.mjpeg After navigating … Read more

tech