getDevTools() not supported yet for Python?

129 views
Skip to first unread message

Ag Eane

unread,
Feb 23, 2021, 4:05:35 AM2/23/21
to Selenium Users
I browsered the source, only found a function called `cdp.import_devtools` but not documented - seems like an internal function. So it is still yet for use currently?

Serguei Kouzmine

unread,
Feb 23, 2021, 9:59:38 PM2/23/21
to Selenium Users
individual API from https://chromedevtools.github.io/devtools-protocol/ 
(i guess all of it ) are supported through Python just in the same way they are supported in pre -Selenium 4.x Java e.g. see code example in 

 

Ag Eane

unread,
Feb 24, 2021, 3:04:44 AM2/24/21
to Selenium Users
Thanks for the reply. In fact, the reason that I want to access getDevTools()  is about getting network request with devtools.addListener(). In Java it is possible by call devtools.addListener(Network.requestWillBeSent(), ( ... callback function ...)), do you have an idea is this possible with Python?
Reply all
Reply to author
Forward
0 new messages