When using Chrome as Selenium webdriver as follow:
from selenium import webdriver
driver = webdriver.Chrome(executable_path='chromedriver.exe')
driver.close()
The first line to stdout is always something like this:
DevTools listening on ws://127.0.0.1:13007/devtools/browser/53aa377a-3789-4a8a-a565-dfd0f3622d38
How can I get this address in code? I don't see any obvious method or attribute (just judging from the name) of driver
instance that might have this information.