iam5 Posted June 27, 2023 Posted June 27, 2023 I'm on a fresh machine I just installed autoit on, working on a webdriver script. I downloaded all the newest dependencies, but I"m having an issue with WinHTTP.au3 I am running 1.6.4.1 just pulled from github. This is what I'm getting, not sure whats causing it. And help would be great
iam5 Posted June 27, 2023 Author Posted June 27, 2023 Oh, I"m just test running a sample script I found just to make sure I have everything setup correct, below is what I have. Func Test14_CreateAMatter_WithWD($IEURL) #RequireAdmin #include <WinHttpConstants.au3> #include <WinHTTP.au3> #include <wd_core.au3> #include <JSON.au3> #include <BinaryCall.au3> #include <Base64.au3> Local $sDesiredCapabilities _WD_Option('Driver', 'chromedriver.exe') _WD_Option('Port', 9515) sleep(5000) $sDesiredCapabilities = '{"capabilities": {"alwaysMatch": {"chromeOptions": {"w3c": true, "args":["start-maximized", "disable-infobars"] }}}}' _WD_Startup() $sSession = _WD_CreateSession($sDesiredCapabilities) If $sSession <> "" Then MsgBox(0,"",$sSession) _WD_Navigate($sSession, $IEURL) Else msgbox(0,"","Blank sessionid") EndIf _WD_DeleteSession($sSession) _WD_Shutdown()
Danp2 Posted June 27, 2023 Posted June 27, 2023 You will want to manually grab the latest source from https://raw.githubusercontent.com/dragana-r/autoit-winhttp/master/WinHttp.au3 Other than that, I would suggest running wd_demo.au3 to see if you encounter any issues. Latest Webdriver UDF Release Webdriver Wiki FAQs
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now