-
Posts
7,652 -
Joined
-
Last visited
-
Days Won
82
Danp2 last won the day on October 19
Danp2 had the most liked content!
About Danp2
Profile Information
-
Member Title
Fujimo
-
Location
Florida
Danp2's Achievements
-
samibb reacted to a post in a topic: Error launching WebDriver
-
I suspect that the issue is associated with this line. Hint: If the path isn't valid, then chromedriver won't load correctly.
-
Did you check the wiki? https://www.autoitscript.com/wiki/WebDriver#FAQ Did you launch the browser with any special parameters?
-
Danp2 reacted to a post in a topic: Need help with WebDriver
-
WebDriver UDF msedgedriver version 130.0.2849.52
Danp2 replied to MRAJ's topic in AutoIt General Help and Support
There have been several recent thread on this topic. For example: -
Dannyv573 reacted to a post in a topic: 2 clicks at the same time, possible?
-
TheXman reacted to a post in a topic: Could not connect with with Google Chrome Version Version 130.0.6723.59 by using 'debuggerAddress: localhost:9222'
-
A few key points that I would like you to consider -- I can't speak for others, but I'm not able or willing to provide assistance if you can't stay up-to-date with the latest version of the Webdriver UDF. Similarly, it isn't possible to provide support for older versions of browsers. If it is working with the latest version of Chrome, then it's likely that the problem existed in the older version of Chrome but has been fixed since then by the Chrome developers. I suggest that you read this website. This isn't just directed at you; it's a common issue where people don't take the time to ask the correct question, explain the solution they are actually trying to solve, provide the necessary details, etc. I'm happy to try to assist you further If you do the following -- post a simple script that we can actually run to observe the problem it must utilize the latest version of the Webdriver UDF it must utilize a more recent browser version
-
That doesn't really help because the date in the header hasn't been updated in two years. The "debuggerAddress" functionality was added since then, so you need to make sure that -- you are using the latest release of the UDF including all of the associated files such as wd_helper.au3, wd_capabilities.au3, etc. you dont have an older copy of these files somewhere that are being accessed instead of the latest versions The bottom line is that you have a configuration issue on your end if you can't successfully run the following line without errors -- _WD_CapabilitiesAdd("debuggerAddress","localhost:9222")
-
WebDriver UDF (W3C compliant version) - 2024/09/21
Danp2 replied to Danp2's topic in AutoIt Example Scripts
The only explanation for this is that you have an old copy of wd_capabilities.au3 somewhere in your system because this command runs as expected when you include the proper version of the UDF. -
Danp2 reacted to a post in a topic: WebDriver UDF (W3C compliant version) - 2024/09/21
-
abs reacted to a post in a topic: Chromedriver issues August 2024
-
Have you tried setting the margins to None?
-
@abs You should check the value of $sCommand in both scenarios.
-
This is a derivative of what _WD_Startup does -- Local $sParams = '--port=9515 --verbose --log-path="' & @ScriptDir & '\msedge.log"' Local $sCommand = StringFormat('"%s" %s ', $DriverPath, $sParams) RunAs($TargetUsername, $TargetDomain, $TargetPassword, 2, $sCommand, "", @SW_SHOW) Untested, but I assume something like this should work ok.
-
This is the likely source of your issues. If you are going to launch the webdriver like this instead of letting _WD_Startup do it, then you need to adjust the parameter that you are passing to RunAs to include the additional options that are part of DriverParams.
-
WebDriver UDF (W3C compliant version) - 2024/09/21
Danp2 replied to Danp2's topic in AutoIt Example Scripts
@samibb Sorry, but the problem is clearly in your script and I don't have the patience right now to assist you further. I suggest that you open a separate thread if you still need help.