You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'use strict';constpuppeteer=require('puppeteer');(asyncfunctionmain(){try{constbrowser=awaitpuppeteer.launch({headless: false,defaultViewport: null,args: ['--lang=en','--start-maximized'],devtools: true,});const[page]=awaitbrowser.pages();awaitpage.goto('https://example.org/');awaitpage.waitForFunction(()=>window.protocolMonitorEnabled===true,{timeout: 0});// Here I toggle the protocol monitor on, open it,// run 'window.protocolMonitorEnabled = true'// and click on the page to transfer the focus from the DevTools (just in case).awaitpage.waitFor(10000);awaitpage.mouse.click(100,100);awaitpage.evaluate(()=>{document.title='New title';});}catch(err){console.error(err);}})();
What is the expected result?
A bunch of Input.dispatchMouseEvent method calls before the title change.
What happens instead?
No Input.dispatchMouseEvent method calls:
(Let me know if I should post this to devtools protocol issues or if I am completely wrong about a possibility to listen to the calls from the puppeteer in such way.)
The text was updated successfully, but these errors were encountered:
We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days.
We are closing this issue. If the issue still persists in the latest version of Puppeteer, please reopen the issue and update the description. We will try our best to accomodate it!
Steps to reproduce
Tell us about your environment:
What steps will reproduce the problem?
What is the expected result?
A bunch of
Input.dispatchMouseEvent
method calls before the title change.What happens instead?
No
Input.dispatchMouseEvent
method calls:(Let me know if I should post this to devtools protocol issues or if I am completely wrong about a possibility to listen to the calls from the puppeteer in such way.)
The text was updated successfully, but these errors were encountered: