I didn't say anything for Chrome version (88.0.4324.182) on Windows 10.
What is the expected result?
I should see "enable DevTools experiments"
What happens instead of that?
I didn't say anything for Chrome version (88.0.4324.182) on Windows 10.
I want to learn how to use Chrome DevTools Protocol.
But this document: https://chromedevtools.github.io/devtools-protocol/#endpoints
Is totally misleading or totally wrong.
I am using latest version of Chrome (88.0.4324.182).
This section: Listening to the protocol, is totally wrong.
1) I can't enable DevTools experiments; the settings are not there any more.
2) Then click the ⋮ menu icon in the top-right of the DevTools, and select Settings. Select Experiments on the left of settings. Turn on "Protocol Monitor", then close and reopen DevTools.
It is also wrong, I can't find "Settings" from DevTools, I can't find "Protocol Monitor", reopen DevTools seems meaningless.
3) You can also issue your own commands. First, open devtools-on-devtools, then within the inner DevTools window, use Main.MainImpl.sendOverProtocol() in the console:
let Main = await import('./main/main.js');
await Main.MainImpl.sendOverProtocol('Emulation.setDeviceMetricsOverride', {
mobile: true,
width: 412,
height: 732,
deviceScaleFactor: 2.625,
});
const data = await Main.MainImpl.sendOverProtocol("Page.captureScreenshot");
I copied and pasted the above code in DevTools, I got the error:
let Main = await import('./main/main.js');
await Main.MainImpl.sendOverProtocol('Emulation.setDeviceMetricsOverride', {
mobile: true,
width: 412,
height: 732,
deviceScaleFactor: 2.625,
});
VM26:1 GET chrome-untrusted://new-tab-page/main/main.js net::ERR_INVALID_URL
(anonymous) @ VM26:1
Uncaught TypeError: Failed to fetch dynamically imported module: chrome-untrusted://new-tab-page/main/main.js
All the documents are full of lies, just like CCP lied about the virus.
Please take action!
What steps will reproduce the problem?
What is the expected result?
I should see "enable DevTools experiments"
What happens instead of that?
I didn't say anything for Chrome version (88.0.4324.182) on Windows 10.
I want to learn how to use Chrome DevTools Protocol. But this document: https://chromedevtools.github.io/devtools-protocol/#endpoints Is totally misleading or totally wrong. I am using latest version of Chrome (88.0.4324.182). This section: Listening to the protocol, is totally wrong. 1) I can't enable DevTools experiments; the settings are not there any more. 2) Then click the ⋮ menu icon in the top-right of the DevTools, and select Settings. Select Experiments on the left of settings. Turn on "Protocol Monitor", then close and reopen DevTools. It is also wrong, I can't find "Settings" from DevTools, I can't find "Protocol Monitor", reopen DevTools seems meaningless. 3) You can also issue your own commands. First, open devtools-on-devtools, then within the inner DevTools window, use Main.MainImpl.sendOverProtocol() in the console: let Main = await import('./main/main.js'); await Main.MainImpl.sendOverProtocol('Emulation.setDeviceMetricsOverride', { mobile: true, width: 412, height: 732, deviceScaleFactor: 2.625, }); const data = await Main.MainImpl.sendOverProtocol("Page.captureScreenshot"); I copied and pasted the above code in DevTools, I got the error: let Main = await import('./main/main.js'); await Main.MainImpl.sendOverProtocol('Emulation.setDeviceMetricsOverride', { mobile: true, width: 412, height: 732, deviceScaleFactor: 2.625, }); VM26:1 GET chrome-untrusted://new-tab-page/main/main.js net::ERR_INVALID_URL (anonymous) @ VM26:1 Uncaught TypeError: Failed to fetch dynamically imported module: chrome-untrusted://new-tab-page/main/main.js All the documents are full of lies, just like CCP lied about the virus. Please take action!