Hello Salvador, how are you?
Looking at this DevTools method
https://chromedevtools.github.io/devtools-protocol/tot/Input/#method-dispatchMouseEvent
It should trigger a click in the Browser but in all my tests and adjustments it didn't work, I never click on any
button on the screen can you tell me if I need to do something else? any suggestion?
Thanks.
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
DevTools dispatchMouseEvent
- salvadordf
- Posts: 4580
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: DevTools dispatchMouseEvent
Hi,
Try using a browser in off-screen rendering (OSR) mode. Then you can simulate mouse and keyboard events.
See the SimpleOSRBrowser demo.
Try using a browser in off-screen rendering (OSR) mode. Then you can simulate mouse and keyboard events.
See the SimpleOSRBrowser demo.
-
- Posts: 18
- Joined: Sun Jul 18, 2021 9:56 pm
Re: DevTools dispatchMouseEvent
thank you salvadorf
I'll try to do more research on this and find a solution alternative
have a nice day
I'll try to do more research on this and find a solution alternative
have a nice day
