Jump to content

WebDriver UDF - Help & Support


Recommended Posts

 

I'm trying to do yet, google search, but I did not get success in the click on google search, code is below.

#include "wd_core.au3"
#include "wd_helper.au3"

Func SetupChrome()
    _WD_Option('Driver', 'chromedriver.exe')
    _WD_Option('Port', 9515)
    _WD_Option('DriverParams', '--log-path="' & @ScriptDir & '\chrome.log"')

    $sDesiredCapabilities = '{"capabilities": {"alwaysMatch": {"chromeOptions": {"w3c": true, "args":[' & """start-maximized"",""disable-notifications""," & " ""disable-infobars""" & "" & '] }}}}'
EndFunc   ;==>SetupChrome

Local $sDesiredCapabilities, $sSession
SetupChrome()

_WD_Startup()

$sSession = _WD_CreateSession($sDesiredCapabilities)

_WD_Navigate($sSession, "https://www.google.com")
_WD_Window($sSession, "maximize", "")

_WD_WaitElement($sSession, $_WD_LOCATOR_ByXPath, '//*[@name=q]', 100, -1, False)

$sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//*[@name='q']")
_WD_ElementAction($sSession, $sElement, "value", "Teste Autoit")

$sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//*(@name='btnK']")
_WD_ElementAction($sSession, $sElement, "click")

Sleep(3000)

_WD_Shutdown()

 

Link to comment
Share on other sites

3 hours ago, Danp2 said:

check out the function DemoElements in wd_demo.au3 for an example of running a search in Google.

@rlvitorino Did you do this? Compare the xpaths there to yours and see the difference.

Also, post the results from the Scite output window. You should review this to see where your code is failing.

Link to comment
Share on other sites

>"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "C:\Users\Digão\Desktop\Autoit\WebDriver-0.1.0.17\ChromeDriver\wd_google.com.au3" /UserParams    
+>21:10:12 Starting AutoIt3Wrapper v.18.708.1148.0 SciTE v.4.1.0.0   Keyboard:00000416  OS:WIN_10/  CPU:X64 OS:X64  Environment(Language:0416)  CodePage:0  utf8.auto.check:4
+>         SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE   UserDir => C:\Users\Digão\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper   SCITE_USERHOME => C:\Users\Digão\AppData\Local\AutoIt v3\SciTE 
>Running AU3Check (3.3.14.5)  from:C:\Program Files (x86)\AutoIt3  input:C:\Users\Digão\Desktop\Autoit\WebDriver-0.1.0.17\ChromeDriver\wd_google.com.au3
+>21:10:13 AU3Check ended.rc:0
>Running:(3.3.14.5):C:\Program Files (x86)\AutoIt3\autoit3.exe "C:\Users\Digão\Desktop\Autoit\WebDriver-0.1.0.17\ChromeDriver\wd_google.com.au3"    
--> Press Ctrl+Alt+Break to Restart or Ctrl+Break to Stop
_WDStartup: OS: WIN_10 WIN32_NT 17134 
_WDStartup: AutoIt: 3.3.14.5
_WDStartup: WD.au3: 0.1.0.15
_WDStartup: Driver: chromedriver.exe
_WDStartup: Params: --log-path="C:\Users\Digão\Desktop\Autoit\WebDriver-0.1.0.17\ChromeDriver\chrome.log"
_WDStartup: Port:   9515
__WD_Post: URL=HTTP://127.0.0.1:9515/session; $sData={"capabilities": {"alwaysMatch": {"chromeOptions": {"w3c": true, "args":["start-maximized","disable-notifications", "disable-infobars"] }}}}
__WD_Post: StatusCode=200; ResponseText={"value":{"capabilities":{"acceptInsecureCerts":false,"acceptSslCerts":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{"chromedriverVersion":"2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a)","userDataDir":"C:\\Users\\DIGO~1\\AppData\\Local\\Temp\\scoped_dir5812_11405"},"cssSelectorsEnabled":true,"databaseEnabled":false,"goog:chromeOptions":{"debuggerAddress":"localhost:65446"},"handlesAlerts":true,"hasTouchScreen":false,"javascriptEnabled":true,"locationContextEnabled":true,"mobileEmulationEnabled":false,"nativeEvents":true,"networkConnectionEnabled":false,"pageLoadStrategy":"normal","platform":"Windows NT","rotatable":false,"setWindowRect":true,"takesHeapSnapshot":true,"takesScreenshot":true,"unhandledPromptBehavior":"","version":"72.0.3626.96","webStorageEnabled":true},"sessionId":"d197b59e8c91fe29508105684097706e"}}
_WD_CreateSession: {"value":{"capabilities":{"acceptInsecureCerts":false,"acceptSslCerts":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{"chromedriverVersion":"2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a)","userDataDir":"C:\\Users\\DIGO~1\\AppData\\Local\\Temp\\scoped_dir5812_11405"},"cssSelectorsEnabled":true,"databaseEnabled":false,"goog:chromeOptions":{"debuggerAddress":"localhost:65446"},"handlesAlerts":true,"hasTouchScreen":false,"javascriptEnabled":true,"locationContextEnabled":true,"mobileEmulationEnabled":false,"nativeEvents":true,"networkConnectionEnabled":false,"pageLoadStrategy":"normal","platform":"Windows NT","rotatable":false,"setWindowRect":true,"takesHeapSnapshot":true,"takesScreenshot":true,"unhandledPromptBehavior":"","version":"72.0.3626.96","webStorageEnabled":true},"sessionId":"d197b59e8c91fe29508105684097706e"}}
__WD_Post: URL=HTTP://127.0.0.1:9515/session/d197b59e8c91fe29508105684097706e/url; $sData={"url":"https://www.google.com"}
__WD_Post: StatusCode=200; ResponseText={"value":null}
_WD_Navigate: {"value":null}
__WD_Post: URL=HTTP://127.0.0.1:9515/session/d197b59e8c91fe29508105684097706e/window/maximize; $sData=
__WD_Post: StatusCode=200; ResponseText={"value":{"height":744,"width":1382,"x":-8,"y":-8}}
_WD_Window: {"value":{"height":744,"width":1382,"x":-8,"y":-8}}
__WD_Post: URL=HTTP://127.0.0.1:9515/session/d197b59e8c91fe29508105684097706e/element; $sData={"using":"xpath","value":"//*[@name=q]"}
__WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement ==> No match: HTTP status = 404
__WD_Post: URL=HTTP://127.0.0.1:9515/session/d197b59e8c91fe29508105684097706e/element; $sData={"using":"xpath","value":"//*[@name=q]"}
__WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement ==> No match: HTTP status = 404
__WD_Post: URL=HTTP://127.0.0.1:9515/session/d197b59e8c91fe29508105684097706e/element; $sData={"using":"xpath","value":"//*[@name=q]"}
__WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement ==> No match: HTTP status = 404
__WD_Post: URL=HTTP://127.0.0.1:9515/session/d197b59e8c91fe29508105684097706e/element; $sData={"using":"xpath","value":"//*[@name=q]"}
__WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement ==> No match: HTTP status = 404
__WD_Post: URL=HTTP://127.0.0.1:9515/session/d197b59e8c91fe29508105684097706e/element; $sData={"using":"xpath","value":"//*[@name=q]"}
__WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement ==> No match: HTTP status = 404
__WD_Post: URL=HTTP://127.0.0.1:9515/session/d197b59e8c91fe29508105684097706e/element; $sData={"using":"xpath","value":"//*[@name=q]"}
__WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement ==> No match: HTTP status = 404
__WD_Post: URL=HTTP://127.0.0.1:9515/session/d197b59e8c91fe29508105684097706e/element; $sData={"using":"xpath","value":"//*[@name=q]"}
__WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement ==> No match: HTTP status = 404
__WD_Post: URL=HTTP://127.0.0.1:9515/session/d197b59e8c91fe29508105684097706e/element; $sData={"using":"xpath","value":"//*[@name=q]"}
__WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement ==> No match: HTTP status = 404
__WD_Post: URL=HTTP://127.0.0.1:9515/session/d197b59e8c91fe29508105684097706e/element; $sData={"using":"xpath","value":"//*[@name=q]"}
__WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement ==> No match: HTTP status = 404
__WD_Post: URL=HTTP://127.0.0.1:9515/session/d197b59e8c91fe29508105684097706e/element; $sData={"using":"xpath","value":"//*[@name=q]"}
__WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement ==> No match: HTTP status = 404
__WD_Post: URL=HTTP://127.0.0.1:9515/session/d197b59e8c91fe29508105684097706e/element; $sData={"using":"xpath","value":"//*[@name=q]"}
__WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//*[@name=q]\"}(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002C9425+103461]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement ==> No match: HTTP status = 404
_WD_WaitElement ==> Timeout
__WD_Post: URL=HTTP://127.0.0.1:9515/session/d197b59e8c91fe29508105684097706e/element; $sData={"using":"xpath","value":"//*[@name='q']"}
__WD_Post: StatusCode=200; ResponseText={"value":{"element-6066-11e4-a52e-4f735466cecf":"2377501d-b317-479c-9a8e-5eda9b6d12d3"}}
_WD_FindElement: {"value":{"element-6066-11e4-a52e-4f735466cecf":"2377501d-b317-479c-9a8e-5eda9b6d12d3"}}
__WD_Post: URL=HTTP://127.0.0.1:9515/session/d197b59e8c91fe29508105684097706e/element/2377501d-b317-479c-9a8e-5eda9b6d12d3/value; $sData={"id":"2377501d-b317-479c-9a8e-5eda9b6d12d3", "text":"Teste Autoit", "value":["T","e","s","t","e"," ","A","u","t","o","i","t"]}
__WD_Post: StatusCode=200; ResponseText={"value":null}
_WD_ElementAction: {"value":null}
__WD_Post: URL=HTTP://127.0.0.1:9515/session/d197b59e8c91fe29508105684097706e/element; $sData={"using":"xpath","value":"//*(@name='btnK']"}
__WD_Post: StatusCode=400; ResponseText={"value":{"error":"invalid selector","message":"Unable to locate an element with the xpath expression //*(@name='btnK'] because of the following errorSyntaxErrorFailed to execute 'evaluate' on 'Document'The string '//*(@name='btnK']' is not a valid XPath expression.(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002FCF2A+315178]\n\tOrdinal0 [0x002FCE14+314900]\n\tOrdinal0 [0x002C91D8+102872]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement: {"value":{"error":"invalid selector","message":"Unable to locate an element with the xpath expression //*(@name='btnK'] because of the following errorSyntaxErrorFailed to execute 'evaluate' on 'Document'The string '//*(@name='btnK']' is not a valid XPath expression.(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002FCF2A+315178]\n\tOrdinal0 [0x002FCE14+314900]\n\tOrdinal0 [0x002C91D8+102872]\n\tOrdinal0 [0x002E3B70+211824]\n\tOrdinal0 [0x002DAEC0+175808]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_FindElement ==> Webdriver Exception: HTTP status = 400
__WD_Post: URL=HTTP://127.0.0.1:9515/session/d197b59e8c91fe29508105684097706e/element//click; $sData={"id":""}
__WD_Post: StatusCode=404; ResponseText={"value":{"error":"stale element reference","message":"element is not attached to the page document(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002FCF2A+315178]\n\tOrdinal0 [0x002FCE14+314900]\n\tOrdinal0 [0x002C9E31+106033]\n\tOrdinal0 [0x002C5A6D+88685]\n\tOrdinal0 [0x002DAE8D+175757]\n\tOrdinal0 [0x002C5808+88072]\n\tOrdinal0 [0x002DB111+176401]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
_WD_ElementAction: {"value":{"error":"stale element reference","message":"element is not attached to the page document(Session infochrome=72.0.3626.96)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00383CF0+867568]\n\tOrdinal0 [0x0032DB7D+514941]\n\tOrdinal0 [0x002FB367+308071]\n\tOrdinal0 [0x002FCF2A+315178]\n\tOrdinal0 [0x002FCE14+314900]\n\tOrdinal0 [0x002C9E31+106033]\n\tOrdinal0 [0x002C5A6D+88685]\n\tOrdinal0 [0x002DAE8D+175757]\n\tOrdinal0 [0x002C5808+88072]\n\tOrdinal0 [0x002DB111+176401]\n\tOrdinal0 [0x002E278D+206733]\n\tOrdinal0 [0x002DAD2B+175403]\n\tOrdinal0 [0x002C3740+79680]\n\tOrdinal0 [0x002C4CFC+85244]\n\tOrdinal0 [0x002C4C50+85072]\n\tOrdinal0 [0x0038E62A+910890]\n\tOrdinal0 [0x00338993+559507]\n\tOrdinal0 [0x00338BA3+560035]\n\tOrdinal0 [0x00338C8C+560268]\n\tOrdinal0 [0x00391907+923911]\n\tOrdinal0 [0x003387FF+559103]\n\tOrdinal0 [0x0034306E+602222]\n\tOrdinal0 [0x0034EA3B+649787]\n\tOrdinal0 [0x0034EBA5+650149]\n\tOrdinal0 [0x0034DDA5+646565]\n\tBaseThreadInitThunk [0x77558484+36]\n\tRtlAreBitsSet [0x779D3AB8+136]\n\tRtlAreBitsSet [0x779D3A88+88]\n"}}
+>21:10:35 AutoIt3.exe ended.rc:0
+>21:10:35 AutoIt3Wrapper Finished.
>Exit code: 0    Time: 24.96

 

Exit from the code above

Link to comment
Share on other sites

@rlvitorino It appears that you are running mismatched versions of Chrome / Chromedriver. Please explain why you are using these versions.

Also, your xpaths are incorrect, which is why you are getting the "no such element" responses from the UDF. Instead of "//*[@name='q']", try "//input[@name='q']". Again, I would recommend that you review the example coding in wd_demo.au3.

Link to comment
Share on other sites

  • 2 weeks later...

Hi there 

I have created a "statistics kiosk" which enumerates through Web Pages, and Excel files, PDF reports and other applications each displaying statistics relevant to our project. I am using WebDriver UDF to automate chrome since at this point most of my statistics are all web pages.  The tool runs a very simple loop 

  1. It parses a JSON file of URLs with associated data 
  2. For each URL it navigates to the page.
  3. Once on the page I use _WD_ExecuteScript to insert Javascript and both "wait" for the correct elements to appear, and to automatically scroll the page if necessary 
  4. After the appropriate scrolling and waiting it moves to a new page

i compile the script to an Exe and put it on shared machine for the Kiosk. 

This all works super well, sometimes for days but sometimes only for 20 mins.  Eventually it will stop working with the following error 

image.png.5b6b2d13442b0949b0372c0a855de83e.png

So i can tell looking at the code WD_Core.au3's 

Func __WD_Post($sURL, $sData)

will clearly do this IF the call to _WinHttpSimpleRequest fails. 

The question i have is, is what is the best way for recourse here? 
Do I need to add code in my script to watch for this, push the OK button, and then try again, or is this indicative of a bigger problem.  

When I have noticed this occur, I have tried simply clicking "OK" myself, but it seems all future requests are not going to work.  Has anyone else encountered this? 

I have attached my entire script in case it helps but since the code executes well for many hours and then hits this, I am not sure if it will help much. 

Thanks in advance

Greg


UPDATED:
I have updated all of my components (Chromedriver, this UDF and all of its depdencies... ) at this point the code has been running 20hrs without issue.. Its possible the issue is fixed.. but I will update in a few days.. 

UPDATED again: 
I knew I was tempting fate when I edited this and concluded it may be fixed.  It happened again just a bit after posting this.

Edited by GregEisenberg
Provided Update
Link to comment
Share on other sites

Hi Dan,

I m looking for how to select an item on a select box object.

According to your suggestion, it should works using this code :


Func _WD_ElementOptionSelect($sSession, $sStrategy, $sSelector, $sStartElement = "")
    Local $sElement = _WD_FindElement($sSession, $sStrategy, $sSelector, $sStartElement)

    If @error = $_WD_ERROR_Success Then
        _WD_ElementAction($sSession, $sElement, 'click')
    EndIf
EndFunc

Can you explain us the parameters :

sSelector : i supposed it was the value i want to select on my select box

sStartElement : I supposed it was the element object leading to the selectbox using the xpath (_WD_FindElement returns) 

Can you give us an example  of a correct call working on a website with a select box object?

Thanks for all

 

Link to comment
Share on other sites

Hi WebDriver experts,
i used Internet Explorer and IE.au3 till now, but since some Pages refuse to use IE , I am switching to Chrome.
Now, i have trouble using Webdriver.au3

Here is my first code. It does not work correct.

#include "wd_core.au3"
_WD_Option('Driver', 'chromedriver.exe')
_WD_Option('Port', 9515)
_WD_Option('DriverParams', '--log-path="' & @ScriptDir & '\chrome.log"')
_WD_Startup()
$sDesiredCapabilities = '{"capabilities": {"alwaysMatch": {"goog:chromeOptions": {"w3c": true }}}}'
$sSession = _WD_CreateSession($sDesiredCapabilities)
_WD_Navigate($sSession, "https://www.google.com")
$sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//input[@name='q']")
_WD_ElementAction($sSession, $sElement, "value", "Autoit Webdriver")
$sButton = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//input[@name='btnK']")
_WD_ElementAction($sSession, $sButton, "click")
MsgBox(64 + 262144, Default, "Press OK to exit", 0)
_WD_DeleteSession($sSession)
_WD_Shutdown()

and here the output

Quote

>"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "C:\Users\Hubertus\Documents\Data\Autoit\Try1 .au3" /UserParams    
+>22:21:57 Starting AutoIt3Wrapper v.16.306.1237.0 SciTE v.3.6.2.0   Keyboard:00000407  OS:WIN_10/  CPU:X64 OS:X64  Environment(Language:0407)  CodePage:0  utf8.auto.check:4    # detect ascii high characters and if none found set default encoding to UTF8 and do not add BOM
+>         SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE   UserDir => C:\Users\Hubertus\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper   SCITE_USERHOME => C:\Users\Hubertus\AppData\Local\AutoIt v3\SciTE 
>Running AU3Check (3.3.14.5)  from:C:\Program Files (x86)\AutoIt3  input:C:\Users\Hubertus\Documents\Data\Autoit\Try1 .au3
+>22:21:57 AU3Check ended.rc:0
>Running:(3.3.14.5):C:\Program Files (x86)\AutoIt3\autoit3.exe "C:\Users\Hubertus\Documents\Data\Autoit\Try1 .au3"    
--> Press Ctrl+Alt+Break to Restart or Ctrl+Break to Stop
_WDStartup: OS:    WIN_10 WIN32_NT 17763 
_WDStartup: AutoIt:    3.3.14.5
_WDStartup: WD.au3:    0.1.0.17
_WDStartup: Driver:    chromedriver.exe
_WDStartup: Params:    --log-path="C:\Users\Hubertus\Documents\Data\Autoit\chrome.log"
_WDStartup: Port:    9515
__WD_Post: URL=HTTP://127.0.0.1:9515/session; $sData={"capabilities": {"alwaysMatch": {"goog:chromeOptions": {"w3c": true }}}}
__WD_Post: StatusCode=0; ResponseText={"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"chrome","browserVersion":"72.0.3626.119","chrome":{"chromedriverVersion":"73.0.3683.20 (8e2b610813e167eee3619ac4ce6e42e3ec622017)","userDataDir":"C:\\Users\\Hubertus\\AppData\\Local\\Temp\\scoped_dir2864_20420"},"goog:chromeOptions":{"debuggerAddress":"localhost:55074"},"networkConnectionEnabled":false,"pageLoadStrategy":"normal","platformName":"windows nt","proxy":{},"setWindowRect":true,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"unhandledPromptBehavior":"dismiss and notify"},"sessionId":"5d9431de5b5f8e046d81fd8557fe9f9d"}}
_WD_CreateSession: {"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"chrome","browserVersion":"72.0.3626.119","chrome":{"chromedriverVersion":"73.0.3683.20 (8e2b610813e167eee3619ac4ce6e42e3ec622017)","userDataDir":"C:\\Users\\Hubertus\\AppData\\Local\\Temp\\scoped_dir2864_20420"},"goog:chromeOptions":{"debuggerAddress":"localhost:55074"},"networkConnectionEnabled":false,"pageLoadStrategy":"normal","platformName":"windows nt","proxy":{},"setWindowRect":true,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"unhandledPromptBehavior":"dismiss and notify"},"sessionId":"5d9431de5b5f8e046d81fd8557fe9f9d"}}
__WD_Post: URL=HTTP://127.0.0.1:9515/session/5d9431de5b5f8e046d81fd8557fe9f9d/url; $sData={"url":"https://www.google.com"}
__WD_Post: StatusCode=0; ResponseText={"value":null}
_WD_Navigate: {"value":null}
__WD_Post: URL=HTTP://127.0.0.1:9515/session/5d9431de5b5f8e046d81fd8557fe9f9d/element; $sData={"using":"xpath","value":"//input[@name='q']"}
__WD_Post: StatusCode=0; ResponseText={"value":{"element-6066-11e4-a52e-4f735466cecf":"6e8bf285-7c39-4261-8770-ccb936590a2a"}}
_WD_FindElement: {"value":{"element-6066-11e4-a52e-4f735466cecf":"6e8bf285-7c39-4261-8770-ccb936590a2a"}}
_WD_FindElement ==> Webdriver Exception: HTTP status = 0
__WD_Post: URL=HTTP://127.0.0.1:9515/session/5d9431de5b5f8e046d81fd8557fe9f9d/element//value; $sData={"id":"", "text":"Autoit Webdriver"}
__WD_Post: StatusCode=0; ResponseText={"value":{"error":"no such element","message":"Element_id length is invalid\n  (Session info: chrome=72.0.3626.119)","stacktrace":"Backtrace:\n\tOrdinal0 [0x0027CF83+1429379]\n\tOrdinal0 [0x001F783E+882750]\n\tOrdinal0 [0x0019A54F+501071]\n\tOrdinal0 [0x0013A1FE+107006]\n\tOrdinal0 [0x00136FF0+94192]\n\tOrdinal0 [0x0014E29D+189085]\n\tOrdinal0 [0x00135EC8+89800]\n\tOrdinal0 [0x0014E521+189729]\n\tOrdinal0 [0x00156444+222276]\n\tOrdinal0 [0x0014E13B+188731]\n\tOrdinal0 [0x00133EA0+81568]\n\tOrdinal0 [0x001353DC+87004]\n\tOrdinal0 [0x00135330+86832]\n\tGetHandleVerifier [0x003325F1+568241]\n\tOrdinal0 [0x0028BB53+1489747]\n\tOrdinal0 [0x0028BD4D+1490253]\n\tOrdinal0 [0x0028BFAA+1490858]\n\tOrdinal0 [0x00284577+1459575]\n\tOrdinal0 [0x0028B9CF+1489359]\n\tOrdinal0 [0x0020D593+972179]\n\tOrdinal0 [0x00219E9B+1023643]\n\tOrdinal0 [0x00219FEA+1023978]\n\tOrdinal0 [0x00219005+1019909]\n\tBaseThreadInitThunk [0x751A0179+25]\n\tRtlGetAppContainerNamedObjectPath [0x772F662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x772F65FD+189]\n"}}
_WD_ElementAction: {"value":{"error":"no such element","message":"Element_id length is invalid\n  (Session info: chrome...
_WD_ElementAction ==> Webdriver Exception: {"value":{"error":"no such element","message":"Element_id length is invalid\n  (Session info: chrome=72.0.3626.119)","stacktrace":"Backtrace:\n\tOrdinal0 [0x0027CF83+1429379]\n\tOrdinal0 [0x001F783E+882750]\n\tOrdinal0 [0x0019A54F+501071]\n\tOrdinal0 [0x0013A1FE+107006]\n\tOrdinal0 [0x00136FF0+94192]\n\tOrdinal0 [0x0014E29D+189085]\n\tOrdinal0 [0x00135EC8+89800]\n\tOrdinal0 [0x0014E521+189729]\n\tOrdinal0 [0x00156444+222276]\n\tOrdinal0 [0x0014E13B+188731]\n\tOrdinal0 [0x00133EA0+81568]\n\tOrdinal0 [0x001353DC+87004]\n\tOrdinal0 [0x00135330+86832]\n\tGetHandleVerifier [0x003325F1+568241]\n\tOrdinal0 [0x0028BB53+1489747]\n\tOrdinal0 [0x0028BD4D+1490253]\n\tOrdinal0 [0x0028BFAA+1490858]\n\tOrdinal0 [0x00284577+1459575]\n\tOrdinal0 [0x0028B9CF+1489359]\n\tOrdinal0 [0x0020D593+972179]\n\tOrdinal0 [0x00219E9B+1023643]\n\tOrdinal0 [0x00219FEA+1023978]\n\tOrdinal0 [0x00219005+1019909]\n\tBaseThreadInitThunk [0x751A0179+25]\n\tRtlGetAppContainerNamedObjectPath [0x772F662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x772F65FD+189]\n"}}
__WD_Post: URL=HTTP://127.0.0.1:9515/session/5d9431de5b5f8e046d81fd8557fe9f9d/element; $sData={"using":"xpath","value":"//input[@name='btnK']"}
__WD_Post: StatusCode=0; ResponseText={"value":{"element-6066-11e4-a52e-4f735466cecf":"6e021fc7-a326-4671-aca4-a9e1e6158e85"}}
_WD_FindElement: {"value":{"element-6066-11e4-a52e-4f735466cecf":"6e021fc7-a326-4671-aca4-a9e1e6158e85"}}
_WD_FindElement ==> Webdriver Exception: HTTP status = 0
__WD_Post: URL=HTTP://127.0.0.1:9515/session/5d9431de5b5f8e046d81fd8557fe9f9d/element//click; $sData={"id":""}
__WD_Post: StatusCode=0; ResponseText={"value":{"error":"no such element","message":"Element_id length is invalid\n  (Session info: chrome=72.0.3626.119)","stacktrace":"Backtrace:\n\tOrdinal0 [0x0027CF83+1429379]\n\tOrdinal0 [0x001F783E+882750]\n\tOrdinal0 [0x0019A54F+501071]\n\tOrdinal0 [0x0013A1FE+107006]\n\tOrdinal0 [0x0013B507+111879]\n\tOrdinal0 [0x0013613D+90429]\n\tOrdinal0 [0x0014E29D+189085]\n\tOrdinal0 [0x00135EC8+89800]\n\tOrdinal0 [0x0014E521+189729]\n\tOrdinal0 [0x00156444+222276]\n\tOrdinal0 [0x0014E13B+188731]\n\tOrdinal0 [0x00133EA0+81568]\n\tOrdinal0 [0x001353DC+87004]\n\tOrdinal0 [0x00135330+86832]\n\tGetHandleVerifier [0x003325F1+568241]\n\tOrdinal0 [0x0028BB53+1489747]\n\tOrdinal0 [0x0028BD4D+1490253]\n\tOrdinal0 [0x0028BFAA+1490858]\n\tOrdinal0 [0x00284577+1459575]\n\tOrdinal0 [0x0028B9CF+1489359]\n\tOrdinal0 [0x0020D593+972179]\n\tOrdinal0 [0x00219E9B+1023643]\n\tOrdinal0 [0x00219FEA+1023978]\n\tOrdinal0 [0x00219005+1019909]\n\tBaseThreadInitThunk [0x751A0179+25]\n\tRtlGetAppContainerNamedObjectPath [0x772F662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x772F65FD+189]\n"}}
_WD_ElementAction: {"value":{"error":"no such element","message":"Element_id length is invalid\n  (Session info: chrome...
_WD_ElementAction ==> Webdriver Exception: {"value":{"error":"no such element","message":"Element_id length is invalid\n  (Session info: chrome=72.0.3626.119)","stacktrace":"Backtrace:\n\tOrdinal0 [0x0027CF83+1429379]\n\tOrdinal0 [0x001F783E+882750]\n\tOrdinal0 [0x0019A54F+501071]\n\tOrdinal0 [0x0013A1FE+107006]\n\tOrdinal0 [0x0013B507+111879]\n\tOrdinal0 [0x0013613D+90429]\n\tOrdinal0 [0x0014E29D+189085]\n\tOrdinal0 [0x00135EC8+89800]\n\tOrdinal0 [0x0014E521+189729]\n\tOrdinal0 [0x00156444+222276]\n\tOrdinal0 [0x0014E13B+188731]\n\tOrdinal0 [0x00133EA0+81568]\n\tOrdinal0 [0x001353DC+87004]\n\tOrdinal0 [0x00135330+86832]\n\tGetHandleVerifier [0x003325F1+568241]\n\tOrdinal0 [0x0028BB53+1489747]\n\tOrdinal0 [0x0028BD4D+1490253]\n\tOrdinal0 [0x0028BFAA+1490858]\n\tOrdinal0 [0x00284577+1459575]\n\tOrdinal0 [0x0028B9CF+1489359]\n\tOrdinal0 [0x0020D593+972179]\n\tOrdinal0 [0x00219E9B+1023643]\n\tOrdinal0 [0x00219FEA+1023978]\n\tOrdinal0 [0x00219005+1019909]\n\tBaseThreadInitThunk [0x751A0179+25]\n\tRtlGetAppContainerNamedObjectPath [0x772F662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x772F65FD+189]\n"}}
__WD_Delete: URL=HTTP://127.0.0.1:9515/session/5d9431de5b5f8e046d81fd8557fe9f9d
__WD_Delete: StatusCode=0; ResponseText={"value":null}
_WD_DeleteSession: {"value":null}
+>22:22:03 AutoIt3.exe ended.rc:0
+>22:22:03 AutoIt3Wrapper Finished.
>Exit code: 0    Time: 6.742
 

 

Please help me why the query box is not filled with the text.

TIA Exit

Edited by Exit

App: Au3toCmd              UDF: _SingleScript()                             

Link to comment
Share on other sites

1 hour ago, Exit said:

_WD_FindElement: {"value":{"element-6066-11e4-a52e-4f735466cecf":"6e8bf285-7c39-4261-8770-ccb936590a2a"}}
_WD_FindElement ==> Webdriver Exception: HTTP status = 0

This doesn't look correct. Unsure why it would be returning an exception here. I can look into it, but probably not until tomorrow.

Link to comment
Share on other sites

Hi Dan,

For example in the website : https://www.airbnb.fr/

I m trying to select a value on a single choice  select box 

$MySelectBox = "//select[@id='adults']"

$MyElement = _WD_FindElement($SessionId, $_WD_LOCATOR_ByXPath, $MySelectBox)

_WD_ElementAction($SessionId, $MyElement , 'Value',"2 adultes")

It doesn t work

Can you tell us how we can do to  fill a select box with a value ?

Thanks for all

 

Link to comment
Share on other sites

@danylarson I don't see a select element on that site with those specifications. When I run your code, I get the expected response

__WD_Post: URL=HTTP://127.0.0.1:9515/session/1d18db3032d3b7940be69b08bec5f10d/element; $sData={"using":"xpath","value":"//select[@id='adults']"}
__WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//select[@id='adults']\"}\n  (Session info: chrome=72.0.3626.119)","stacktrace":"Backtrace:\n\tOrdinal0 [0x012ACF83+1429379]\n\tOrdinal0 [0x0122783E+882750]\n\tOrdinal0 [0x011CA54F+501071]\n\tOrdinal0 [0x0116A91E+108830]\n\tOrdinal0 [0x01187560+226656]\n\tOrdinal0 [0x0117E2D0+189136]\n\tOrdinal0 [0x01186444+222276]\n\tOrdinal0 [0x0117E13B+188731]\n\tOrdinal0 [0x01163EA0+81568]\n\tOrdinal0 [0x011653DC+87004]\n\tOrdinal0 [0x01165330+86832]\n\tGetHandleVerifier [0x013625F1+568241]\n\tOrdinal0 [0x012BBB53+1489747]\n\tOrdinal0 [0x012BBD4D+1490253]\n\tOrdinal0 [0x012BBFAA+1490858]\n\tOrdinal0 [0x012B4577+1459575]\n\tOrdinal0 [0x012BB9CF+1489359]\n\tOrdinal0 [0x0123D593+972179]\n\tOrdinal0 [0x01249E9B+1023643]\n\tOrdinal0 [0x01249FEA+1023978]\n\tOrdinal0 [0x01249005+1019909]\n\tBaseThreadInitThunk [0x75270179+25]\n\tRtlGetAppContainerNamedObjectPath [0x7738662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x773865FD+189]\n"}}
_WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//select[@id='adults']\"}\n  (Session info: chrome=72.0.3626.119)","stacktrace":"Backtrace:\n\tOrdinal0 [0x012ACF83+1429379]\n\tOrdinal0 [0x0122783E+882750]\n\tOrdinal0 [0x011CA54F+501071]\n\tOrdinal0 [0x0116A91E+108830]\n\tOrdinal0 [0x01187560+226656]\n\tOrdinal0 [0x0117E2D0+189136]\n\tOrdinal0 [0x01186444+222276]\n\tOrdinal0 [0x0117E13B+188731]\n\tOrdinal0 [0x01163EA0+81568]\n\tOrdinal0 [0x011653DC+87004]\n\tOrdinal0 [0x01165330+86832]\n\tGetHandleVerifier [0x013625F1+568241]\n\tOrdinal0 [0x012BBB53+1489747]\n\tOrdinal0 [0x012BBD4D+1490253]\n\tOrdinal0 [0x012BBFAA+1490858]\n\tOrdinal0 [0x012B4577+1459575]\n\tOrdinal0 [0x012BB9CF+1489359]\n\tOrdinal0 [0x0123D593+972179]\n\tOrdinal0 [0x01249E9B+1023643]\n\tOrdinal0 [0x01249FEA+1023978]\n\tOrdinal0 [0x01249005+1019909]\n\tBaseThreadInitThunk [0x75270179+25]\n\tRtlGetAppContainerNamedObjectPath [0x7738662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x773865FD+189]\n"}}
_WD_FindElement ==> No match: HTTP status = 404

 

Link to comment
Share on other sites

Hi Danp2, i have problem code add extension. I try many code but don't work. Sorry i have bad code. I hope you change help me code add extension working.

Base link: http://chromedriver.chromium.org/extensions

Code:

{"capabilities":{"alwaysMatch":{"chromeOptions":{"AddExtensions":"C:/chrome/webcrt.crx","w3c":true}}}}

Thanks you so much.

 

Chromedriver no start.  i don't know convert code is json 

Link to comment
Share on other sites

  • Developers

@ngocthang26,

Why are you reporting this post? 
I have merged your 2 posts, in case that is what you wanted.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

@Danp2

Thanks for pointing me at the global $_WD_ERROR_MSGBOX. That helps a bit and I totally missed it, plus I see that it only applies in compiled code.

I did have a question though. I looked at your wd_demo.au3 file and was looking for a pattern for error checking calls to _WD_Navigate, _WD_Action, _WD_ExecuteScript but there is none. 

Do you have a pattern you suggest?  It seems we should be checking the result of _WD_Navigate AND the @ERROR value and i figured you would have a good suggested pattern.   

Of course anyone can chime on this .. does anyone have a good pattern for checking the results of _WD_Navigate, _WD_Action, _WD_ExecuteScript ?

Thanks

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...