Jump to content

Danp2

MVPs
  • Posts

    7,568
  • Joined

  • Last visited

  • Days Won

    79

Danp2 last won the day on April 24

Danp2 had the most liked content!

About Danp2

Profile Information

  • Member Title
    Fujimo
  • Location
    Florida

Recent Profile Visitors

5,190 profile views

Danp2's Achievements

  1. Try using null for all values, which should restore the window without moving or resizing it.
  2. As indicated by Sven, you should be able to do this using _WD_Window. Take a look at the Rect option, which should allow you to restore the window.
  3. @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.
  4. 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
  5. 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.
  6. 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.
  7. @CYCho Thanks for the heads up. I'll take a look at this later. For anyone interested, see here for more details.
  8. 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
  9. 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.
  10. @mikos65 What have you tried thus far? Note that this isn't a standard Select element, so the above discussion may not apply.
  11. Did you try to perform this with either _WD_ElementOptionSelect or _WD_ElementSelectAction?
  12. Since it only seems to happen with scripts in one folder, have you looked into thing like rights issues, A/V software exclusions, system logs, etc?
  13. So, it appears that the script can no longer communicate with the webdriver console. Is the webdriver instance (ie: chromdriver, edgedriver, etc) still running?
  14. 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?
×
×
  • Create New...