Jump to content

PaulS

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by PaulS

  1. @Danp2 Thanks for the quick reply. Your comment about InetRead failing due to security protocols got me thinking, so I checked our web content filter. Guess what...both github.com and msedgedriver.azureedge.net were being blocked for the standard user, and not for the admin user. THANK YOU!!!
  2. I'm working on an AutoIT script to keep Edge Webdriver up to date. When the logged in user has admin permissions to the computer, the script works well. If not, both _WD_IsLatest_Release and _WD_UpdateDriver fail with @error=$_WD_ERROR_GeneralError. The update also fails when logged in as a standard user using RunAs administrator. I have attached the script and one of the log files for reference purposes. At 08:12 in the log file, I ran the script logged in as an admin user. All other attempts were run as a standard user. Any suggestions? WebDriverUpdate.au3 WebDriverUpdateDebug.log
  3. Thank you again. I was pulling my hair out trying to get this to work. I'm all set!
  4. THANK YOU. My JSON.au3 is dated 2009 *facepalm*. Where can I find the latest version?
  5. Thanks Dan. I had already followed the installation instructions, but went back and confirmed that I have all of the prerequisites in place. I'm now trying wd_demo.au3, and running in to undeclared variable errors in wd_capabilities.au3. For example: warning: $Json_UNQUOTED_STRING: possibly used before declaration
  6. I'm having a terrible time getting started with Web Driver. I've tried both of the GDPR examples and get errors including several "undefined function" errors. Errors listed below. Am I missing some includes? I'm baffled. "C:\Users\psiess\Downloads\GDPR fines (2).au3"(74,73) : error: _WD_GetTable() called with wrong number of args. $aResult = _WD_GetTable($sSession, "//table[@id='penalties']", $iPage) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Program Files (x86)\AutoIt3\Include\wd_helper.au3"(2023,44) : REF: definition of _WD_GetTable(). Func _WD_GetTable($sSession, $sBaseElement) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Users\psiess\Downloads\GDPR fines (2).au3"(118,52) : error: _WD_GetTable() already defined. Func _WD_GetTable($sSession, $sBaseElement, $iPage) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Program Files (x86)\AutoIt3\Include\wd_core.au3"(231,41) : error: Json_Decode(): undefined function. Local $oJSON = Json_Decode($sResponse) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Program Files (x86)\AutoIt3\Include\wd_core.au3"(232,53) : error: Json_Get(): undefined function. $sSession = Json_Get($oJSON, "[value][sessionId]") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Program Files (x86)\AutoIt3\Include\wd_core.au3"(1250,38) : error: __WinHttpVer(): undefined function. Local $sWinHttpVer = __WinHttpVer() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Program Files (x86)\AutoIt3\Include\wd_helper.au3"(592,29) : error: Json_IsObject(): undefined function. If Json_IsObject($sValue) = ~~~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Program Files (x86)\AutoIt3\Include\wd_helper.au3"(593,38) : error: Json_ObjGetKeys(): undefined function. $asJSON = Json_ObjGetKeys($sValue) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Program Files (x86)\AutoIt3\Include\wd_helper.au3"(2259,33) : error: Json_ObjCreate(): undefined function. Local $vData = Json_ObjCreate() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Program Files (x86)\AutoIt3\Include\wd_helper.au3"(2260,34) : error: Json_Put(): undefined function. Json_Put($vData, '.type', 'key') ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Program Files (x86)\AutoIt3\Include\wd_helper.au3"(2264,36) : error: Json_Encode(): undefined function. Local $sJSON = Json_Encode($vData) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
×
×
  • Create New...