@laohacbancho37 It's possible that _WD_ConsoleVisible is no longer working following an update to Chromedriver. Anyone else seeing this?
The workaround by @Danyfirex will stop the webdriver console from being shown at all.
Hey Sven,
You may be correct as I only skimmed the post and missed the span inside the button element. However, don't count my solution out just yet as it may work as-is. 😉
Dan
You need to find an xpath that doesn't rely on the id. Something like this could work --
//button[contains(text(), 'Starten')]
You can also use an selector that finds an ancestor first and uses the ancestor to locate the ultimate target.
You could try something like this, but I'm not sure that you will be any happier with the result --
ConsoleWrite("Error Creating Session: " & $aWD_ERROR_DESC[@error] & " Exiting." & @CRLF)
FYI, there is a pending patch to deal with Google once again changing the Chromedriver location.
Here are a few links for you to review --
https://www.autoitscript.com/forum/topic/206278-webdriver-websockets-and-chrome-devtools-protocol-oh-my-😜/#comment-1497553
https://www.autoitscript.com/forum/topic/208988-websockets-and-autoit/#comments
websocket isn't the same as webdriver. Search the forum and you should find multiple threads discussing websockets. You may want to start a new thread where you provide a more detailed description of what you want to accomplish.
So, it appears that the script can no longer communicate with the webdriver console. Is the webdriver instance (ie: chromdriver, edgedriver, etc) still running?
No idea why hibernation would affect the functionality. Have you checked the Scite console to see if the script is still running? Do any errors appear there?