Math43 Posted July 8, 2019 Share Posted July 8, 2019 On 7/4/2019 at 4:04 PM, Danp2 said: @Math43 Run wd_demo.au3 with the DemoElements option set to True. When the _ArrayDisplay popup is shown, close the browser window. Afterwards, close the popup and the script will continue. At this point, you should start to see errors logged in the Scite output panel such as -- __WD_Post: URL=HTTP://127.0.0.1:9515/session/d03ef849434f98c084cbad7829b1e1b1/element/5fa04ca6-3871-4a73-96ab-e7fd13065564/value; $sData={"id":"5fa04ca6-3871-4a73-96ab-e7fd13065564", "text":"testing 123"} __WD_Post: StatusCode=500; ResponseText={"value":{"error":"chrome not reachable","message":"(Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x0040DB63+1432419]\n\tOrdinal0 [0x00388D81+888193]\n\tOrdinal0 [0x0032B761+505697]\n\tOrdinal0 [0x00324589+476553]\n\tOrdinal0 [0x00324B17+477975]\n\tOrdinal0 [0x00325B85+482181]\n\tOrdinal0 [0x00321A6F+465519]\n\tOrdinal0 [0x0032C670+509552]\n\tOrdinal0 [0x002E67B5+223157]\n\tOrdinal0 [0x002DE8AB+190635]\n\tOrdinal0 [0x002C5F16+89878]\n\tOrdinal0 [0x002C757A+95610]\n\tOrdinal0 [0x002C7474+95348]\n\tGetHandleVerifier [0x0056DE7C+1274156]\n\tGetHandleVerifier [0x004BB6D9+543113]\n\tGetHandleVerifier [0x004BB4E0+542608]\n\tOrdinal0 [0x0041B508+1488136]\n\tGetHandleVerifier [0x004BBC86+544566]\n\tOrdinal0 [0x0039EEC5+978629]\n\tOrdinal0 [0x003AB35B+1028955]\n\tOrdinal0 [0x003AB49F+1029279]\n\tOrdinal0 [0x003AA445+1025093]\n\tBaseThreadInitThunk [0x76750419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77C6662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77C665FD+189]\n"}} _WD_ElementAction: {"value":{"error":"chrome not reachable","message":"(Session info: chrome=75.0.3770.100)","stacktrac... _WD_ElementAction ==> Webdriver Exception: {"value":{"error":"chrome not reachable","message":"(Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x0040DB63+1432419]\n\tOrdinal0 [0x00388D81+888193]\n\tOrdinal0 [0x0032B761+505697]\n\tOrdinal0 [0x00324589+476553]\n\tOrdinal0 [0x00324B17+477975]\n\tOrdinal0 [0x00325B85+482181]\n\tOrdinal0 [0x00321A6F+465519]\n\tOrdinal0 [0x0032C670+509552]\n\tOrdinal0 [0x002E67B5+223157]\n\tOrdinal0 [0x002DE8AB+190635]\n\tOrdinal0 [0x002C5F16+89878]\n\tOrdinal0 [0x002C757A+95610]\n\tOrdinal0 [0x002C7474+95348]\n\tGetHandleVerifier [0x0056DE7C+1274156]\n\tGetHandleVerifier [0x004BB6D9+543113]\n\tGetHandleVerifier [0x004BB4E0+542608]\n\tOrdinal0 [0x0041B508+1488136]\n\tGetHandleVerifier [0x004BBC86+544566]\n\tOrdinal0 [0x0039EEC5+978629]\n\tOrdinal0 [0x003AB35B+1028955]\n\tOrdinal0 [0x003AB49F+1029279]\n\tOrdinal0 [0x003AA445+1025093]\n\tBaseThreadInitThunk [0x76750419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77C6662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77C665FD+189]\n"}} If you close the tab instead of the window, then you get the following -- __WD_Post: URL=HTTP://127.0.0.1:9515/session/f21a0f2bee2cd40878ea85a3b01c76ea/element/75d77cac-be83-4271-94e7-53f04732b9ac/value; $sData={"id":"75d77cac-be83-4271-94e7-53f04732b9ac", "text":"testing 123"} __WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such window","message":"window was already closed\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x0040DB63+1432419]\n\tOrdinal0 [0x00388D81+888193]\n\tOrdinal0 [0x0032B9D1+506321]\n\tOrdinal0 [0x0032502E+479278]\n\tOrdinal0 [0x00325B85+482181]\n\tOrdinal0 [0x00321A6F+465519]\n\tOrdinal0 [0x0032C670+509552]\n\tOrdinal0 [0x002E67B5+223157]\n\tOrdinal0 [0x002DE8AB+190635]\n\tOrdinal0 [0x002C5F16+89878]\n\tOrdinal0 [0x002C757A+95610]\n\tOrdinal0 [0x002C7474+95348]\n\tGetHandleVerifier [0x0056DE7C+1274156]\n\tGetHandleVerifier [0x004BB6D9+543113]\n\tGetHandleVerifier [0x004BB4E0+542608]\n\tOrdinal0 [0x0041B508+1488136]\n\tGetHandleVerifier [0x004BBC86+544566]\n\tOrdinal0 [0x0039EEC5+978629]\n\tOrdinal0 [0x003AB35B+1028955]\n\tOrdinal0 [0x003AB49F+1029279]\n\tOrdinal0 [0x003AA445+1025093]\n\tBaseThreadInitThunk [0x76750419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77C6662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77C665FD+189]\n"}} _WD_ElementAction: {"value":{"error":"no such window","message":"window was already closed\n (Session info: chrome=75.... _WD_ElementAction ==> Webdriver Exception: {"value":{"error":"no such window","message":"window was already closed\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x0040DB63+1432419]\n\tOrdinal0 [0x00388D81+888193]\n\tOrdinal0 [0x0032B9D1+506321]\n\tOrdinal0 [0x0032502E+479278]\n\tOrdinal0 [0x00325B85+482181]\n\tOrdinal0 [0x00321A6F+465519]\n\tOrdinal0 [0x0032C670+509552]\n\tOrdinal0 [0x002E67B5+223157]\n\tOrdinal0 [0x002DE8AB+190635]\n\tOrdinal0 [0x002C5F16+89878]\n\tOrdinal0 [0x002C757A+95610]\n\tOrdinal0 [0x002C7474+95348]\n\tGetHandleVerifier [0x0056DE7C+1274156]\n\tGetHandleVerifier [0x004BB6D9+543113]\n\tGetHandleVerifier [0x004BB4E0+542608]\n\tOrdinal0 [0x0041B508+1488136]\n\tGetHandleVerifier [0x004BBC86+544566]\n\tOrdinal0 [0x0039EEC5+978629]\n\tOrdinal0 [0x003AB35B+1028955]\n\tOrdinal0 [0x003AB49F+1029279]\n\tOrdinal0 [0x003AA445+1025093]\n\tBaseThreadInitThunk [0x76750419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77C6662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77C665FD+189]\n"}} You should be able to check the value of @error following the call to the UDF. Do you have any example to track @error ? When I try to print @error after a WD function, I always get a "0" even the function has failed. Regards, Math Link to comment Share on other sites More sharing options...
Danp2 Posted July 8, 2019 Author Share Posted July 8, 2019 @Math43 There are multiple examples in wd_demo. I assume you've reviewed that already? 😉 If you want further assistance, show an example of what you tried so that we can better understand where you may be making a mistake. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Math43 Posted July 8, 2019 Share Posted July 8, 2019 14 minutes ago, Danp2 said: @Math43 There are multiple examples in wd_demo. I assume you've reviewed that already? 😉 If you want further assistance, show an example of what you tried so that we can better understand where you may be making a mistake. Yes i've review wd_demo and try to reproduce without success. Here is my example: _WD_Navigate($sSession, $sUrl) Sleep(3000) ; Wait for username input field before starting to auto complete _WD_WaitElement($sSession,$_WD_LOCATOR_ByXPath,"//input[@id='"&$sUsernameField&"']") ConsoleWrite(@error & @CRLF) @error always display 0, event _WD_WaitElement failed or not. Regards, Mathieu Link to comment Share on other sites More sharing options...
Danp2 Posted July 8, 2019 Author Share Posted July 8, 2019 19 minutes ago, Math43 said: @error always display 0, event _WD_WaitElement failed or not. Not sure why your experience differs from mine. To test, I made the following change to DemoElements in wd_demo -- _WD_WaitElement($sSession, $_WD_LOCATOR_ByXPath, $sElementSelector) ConsoleWrite("+ @error = " & @error & @CRLF) _WD_WaitElement($sSession, $_WD_LOCATOR_ByXPath, "//input[@name='q1']") ConsoleWrite("+ @error = " & @error & @CRLF) This is the resulting text from the Scite output panel -- expandcollapse popup_WD_Navigate: {"value":null} __WD_Post: URL=HTTP://127.0.0.1:9515/session/7c109ca0c7f7362f930984c2c208b59c/element; $sData={"using":"xpath","value":"//input[@name='q']"} __WD_Post: StatusCode=200; ResponseText={"value":{"element-6066-11e4-a52e-4f735466cecf":"461f403b-c110-4f73-b1a9-957650a3f1ae"}} _WD_FindElement: {"value":{"element-6066-11e4-a52e-4f735466cecf":"461f403b-c110-4f73-b1a9-957650a3f1ae"}} _WD_WaitElement ==> Success + @error = 0 __WD_Post: URL=HTTP://127.0.0.1:9515/session/7c109ca0c7f7362f930984c2c208b59c/element; $sData={"using":"xpath","value":"//input[@name='q1']"} __WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement ==> No match: HTTP status = 404 __WD_Post: URL=HTTP://127.0.0.1:9515/session/7c109ca0c7f7362f930984c2c208b59c/element; $sData={"using":"xpath","value":"//input[@name='q1']"} __WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement ==> No match: HTTP status = 404 __WD_Post: URL=HTTP://127.0.0.1:9515/session/7c109ca0c7f7362f930984c2c208b59c/element; $sData={"using":"xpath","value":"//input[@name='q1']"} __WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement ==> No match: HTTP status = 404 __WD_Post: URL=HTTP://127.0.0.1:9515/session/7c109ca0c7f7362f930984c2c208b59c/element; $sData={"using":"xpath","value":"//input[@name='q1']"} __WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement ==> No match: HTTP status = 404 __WD_Post: URL=HTTP://127.0.0.1:9515/session/7c109ca0c7f7362f930984c2c208b59c/element; $sData={"using":"xpath","value":"//input[@name='q1']"} __WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement ==> No match: HTTP status = 404 __WD_Post: URL=HTTP://127.0.0.1:9515/session/7c109ca0c7f7362f930984c2c208b59c/element; $sData={"using":"xpath","value":"//input[@name='q1']"} __WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement ==> No match: HTTP status = 404 __WD_Post: URL=HTTP://127.0.0.1:9515/session/7c109ca0c7f7362f930984c2c208b59c/element; $sData={"using":"xpath","value":"//input[@name='q1']"} __WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement ==> No match: HTTP status = 404 __WD_Post: URL=HTTP://127.0.0.1:9515/session/7c109ca0c7f7362f930984c2c208b59c/element; $sData={"using":"xpath","value":"//input[@name='q1']"} __WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement ==> No match: HTTP status = 404 __WD_Post: URL=HTTP://127.0.0.1:9515/session/7c109ca0c7f7362f930984c2c208b59c/element; $sData={"using":"xpath","value":"//input[@name='q1']"} __WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement ==> No match: HTTP status = 404 __WD_Post: URL=HTTP://127.0.0.1:9515/session/7c109ca0c7f7362f930984c2c208b59c/element; $sData={"using":"xpath","value":"//input[@name='q1']"} __WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement ==> No match: HTTP status = 404 __WD_Post: URL=HTTP://127.0.0.1:9515/session/7c109ca0c7f7362f930984c2c208b59c/element; $sData={"using":"xpath","value":"//input[@name='q1']"} __WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@name='q1']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FFDB63+1432419]\n\tOrdinal0 [0x00F78D81+888193]\n\tOrdinal0 [0x00F1B9D1+506321]\n\tOrdinal0 [0x00EBCA05+117253]\n\tOrdinal0 [0x00ED7F20+229152]\n\tOrdinal0 [0x00ECEA40+191040]\n\tOrdinal0 [0x00ED6D94+224660]\n\tOrdinal0 [0x00ECE8AB+190635]\n\tOrdinal0 [0x00EB5F16+89878]\n\tOrdinal0 [0x00EB757A+95610]\n\tOrdinal0 [0x00EB7474+95348]\n\tGetHandleVerifier [0x0115DE7C+1274156]\n\tGetHandleVerifier [0x010AB6D9+543113]\n\tGetHandleVerifier [0x010AB4E0+542608]\n\tOrdinal0 [0x0100B508+1488136]\n\tGetHandleVerifier [0x010ABC86+544566]\n\tOrdinal0 [0x00F8EEC5+978629]\n\tOrdinal0 [0x00F9B35B+1028955]\n\tOrdinal0 [0x00F9B49F+1029279]\n\tOrdinal0 [0x00F9A445+1025093]\n\tBaseThreadInitThunk [0x76B80419+25]\n\tRtlGetAppContainerNamedObjectPath [0x77B2662D+237]\n\tRtlGetAppContainerNamedObjectPath [0x77B265FD+189]\n"}} _WD_FindElement ==> No match: HTTP status = 404 _WD_WaitElement ==> Timeout + @error = 6 So, the first instance returns an error code of 0 and the second instance returns and error code of 6. What version of the Webdriver UDF are you running? If its not 0.1.0.19, then please update and then try again. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
TungNhoc Posted July 9, 2019 Share Posted July 9, 2019 (edited) On 7/8/2019 at 7:49 AM, Danp2 said: @TungNhoc Sorry, but your description of "not working" isn't sufficient for us to help you. In addition, we can't test the script you posted because -- It's incomplete (missing includes and other functions) Your DesiredCapabilities contains a user profile directory that we won't have Please try again and make the effort to describe what is occurring. Dan this is full source , can you check for me . Thank you so much ! <snip> Edited July 9, 2019 by JLogan3o13 Link to comment Share on other sites More sharing options...
Danp2 Posted July 9, 2019 Author Share Posted July 9, 2019 4 hours ago, TungNhoc said: this is full source , can you check for me Your prior snippet had issues -- Missing includes at the beginning Custom profile in the DesiredCapabilities string that won't exist for anyone else I never asked you to upload your full source. My request was for you to simply put in some effort to provide a snippet of code that anyone could run to observe the issues that you are encountering. Also, "not working" isn't an adequate description of the situation. I would recommend that you -- Fix the issues I mentioned above Remove the line modifying $_WD_DEBUG. This will have the effect of the console initially being visible, but also will output the most useful feedback in the Scite output panel Add a call to _WD_ConsoleVisible(False) to attempt to hide the console Run this code and then post the results from the Scite output panel P.S. Your zip file appears to contain two copies of chromedriver.exe, where one of the is marked with the Hidden and System attributes. One of these was also flagged by my AV system as a trojan. This is not normal!!! You should double check to make sure that your system isn't infected. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
jiataifeng Posted July 11, 2019 Share Posted July 11, 2019 2 hours ago, Danp2 said: @jiataifeng No need to quote the entire initial post when asking a question. 🙄 This isn't something that I tried myself. I suspect that you will need to parse the JSON string to obtain each individual cookie, and then call the function to add each one individually. P.S. This question would be better asked in this thread in the GH&S section. Thanks. Most of time, no one cares what the cookies really are, as long as it's possible to set them all back to just keep the logged in status etc. Hopefully it's possible to added one more UDF to save the everyone's time. Thanks. Link to comment Share on other sites More sharing options...
Danp2 Posted July 11, 2019 Author Share Posted July 11, 2019 @jiataifeng Shouldn't be too difficult for someone to do this. Look forward to seeing your submission. 😉 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
ssandro Posted July 14, 2019 Share Posted July 14, 2019 hi I have problem with dynamic id. my outerhtml ==== <button ctype="pushbutton" type="button" control="true" id="mx5768" class="text pb default" style="">OK</button></div><div aria-live="polite" id="mx5770_holder" class="bc"> <button ctype="pushbutton" type="button" control="true" id="mx5770" class="text pb" style="">Cancel</button></div> </td> ==== my udf script $sButton = _WD_FindElement($sSession, $_WD_LOCATOR_ByXpath, "//*[@id='mx5768']") _WD_ElementAction($sSession,$sButton,'click') my script works if i put the value of the $sSelector the id. But it keep changing each time login, i can't do the same script. I've tried $sButton = _WD_FindElement($sSession, $_WD_LOCATOR_ByXpath, "//*[@class='text pb default']") _WD_ElementAction($sSession,$sButton,'click') but it does not work. are there any alternatives to click without the id? Link to comment Share on other sites More sharing options...
Danp2 Posted July 14, 2019 Author Share Posted July 14, 2019 @ssandro Have you tried like this? $sButton = _WD_FindElement($sSession, $_WD_LOCATOR_ByXpath, "//input[@type='button'][@value='OK']") Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
ssandro Posted July 15, 2019 Share Posted July 15, 2019 14 hours ago, Danp2 said: @ssandro Have you tried like this? $sButton = _WD_FindElement($sSession, $_WD_LOCATOR_ByXpath, "//input[@type='button'][@value='OK']") sorry for late reply, morning here. it does not work, the script says error code : __WD_Post: URL=HTTP://127.0.0.1:9515/session/83bf3dce199f053f4898722796b1ba28/element; $sData={"using":"xpath","value":"//input[@type='button'][@value='OK']"} __WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@type='button'][@value='OK']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x003DDB63+1432419]\n\tOrdinal0 [0x00358D81+888193]\n\tOrdinal0 [0x002FB9D1+506321]\n\tOrdinal0 [0x0029CA05+117253]\n\tOrdinal0 [0x002B7F20+229152]\n\tOrdinal0 [0x002AEA40+191040]\n\tOrdinal0 [0x002B6D94+224660]\n\tOrdinal0 [0x002AE8AB+190635]\n\tOrdinal0 [0x00295F16+89878]\n\tOrdinal0 [0x0029757A+95610]\n\tOrdinal0 [0x00297474+95348]\n\tGetHandleVerifier [0x0053DE7C+1274156]\n\tGetHandleVerifier [0x0048B6D9+543113]\n\tGetHandleVerifier [0x0048B4E0+542608]\n\tOrdinal0 [0x003EB508+1488136]\n\tGetHandleVerifier [0x0048BC86+544566]\n\tOrdinal0 [0x0036EEC5+978629]\n\tOrdinal0 [0x0037B35B+1028955]\n\tOrdinal0 [0x0037B49F+1029279]\n\tOrdinal0 [0x0037A445+1025093]\n\tBaseThreadInitThunk [0x755B7C04+36]\n\tRtlInitializeExceptionChain [0x773FAB8F+143]\n\tRtlInitializeExceptionChain [0x773FAB5A+90]\n"}} _WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//input[@type='button'][@value='OK']\"}\n (Session info: chrome=75.0.3770.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x003DDB63+1432419]\n\tOrdinal0 [0x00358D81+888193]\n\tOrdinal0 [0x002FB9D1+506321]\n\tOrdinal0 [0x0029CA05+117253]\n\tOrdinal0 [0x002B7F20+229152]\n\tOrdinal0 [0x002AEA40+191040]\n\tOrdinal0 [0x002B6D94+224660]\n\tOrdinal0 [0x002AE8AB+190635]\n\tOrdinal0 [0x00295F16+89878]\n\tOrdinal0 [0x0029757A+95610]\n\tOrdinal0 [0x00297474+95348]\n\tGetHandleVerifier [0x0053DE7C+1274156]\n\tGetHandleVerifier [0x0048B6D9+543113]\n\tGetHandleVerifier [0x0048B4E0+542608]\n\tOrdinal0 [0x003EB508+1488136]\n\tGetHandleVerifier [0x0048BC86+544566]\n\tOrdinal0 [0x0036EEC5+978629]\n\tOrdinal0 [0x0037B35B+1028955]\n\tOrdinal0 [0x0037B49F+1029279]\n\tOrdinal0 [0x0037A445+1025093]\n\tBaseThreadInitThunk [0x755B7C04+36]\n\tRtlInitializeExceptionChain [0x773FAB8F+143]\n\tRtlInitializeExceptionChain [0x773FAB5A+90]\n"}} _WD_FindElement ==> No match: HTTP status = 404 i've also tried "//*[@type='button'][@value='OK']") "//*[@type='button'][@class='text pb default']") "//*[@button='OK']") "//input[@button='OK']") but it all returns to _WD_FindElement ==> No match: HTTP status = 404 are there any alternative solutions? Link to comment Share on other sites More sharing options...
CYCho Posted July 15, 2019 Share Posted July 15, 2019 (edited) @ssandro, maybe you can try this: $sButton = _WD_FindElement($sSession, $_WD_LOCATOR_ByXpath, "//button[@class='text pb default' and text()='OK']") @Danp2, thanks a lot for the WebDriver UDF. With Chrome, it works exactly as I want it to and is very stable. Edited July 15, 2019 by CYCho ssandro 1 zPlayer - A Small Audio and Video Player Time Sync + SystemTimeAdjustment Link to comment Share on other sites More sharing options...
ssandro Posted July 15, 2019 Share Posted July 15, 2019 1 hour ago, CYCho said: @ssandro, maybe you can try this: $sButton = _WD_FindElement($sSession, $_WD_LOCATOR_ByXpath, "//button[@class='text pb default' and text()='OK']") @Danp2, thanks a lot for the WebDriver UDF. With Chrome, it works exactly as I want it to and is very stable. Alhamdulillah, it works perfectly, thank you very much. May Allah reward both of you with goodness. Link to comment Share on other sites More sharing options...
Danpol Posted July 16, 2019 Share Posted July 16, 2019 Hi, how to get element id (that in source code f.e. idlogon) when I have it's id returned by _WD_FindElement? I have to find elements by class using _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//td[@class='classname']", "", True) and then find that one with id. I can get it's tagname by _WD_ElementAction($sSession, $sButton, 'name') but i can't do that with id :/ Link to comment Share on other sites More sharing options...
Danp2 Posted July 16, 2019 Author Share Posted July 16, 2019 @Danpol Have you tried like this? _WD_ElementAction($sSession, $sButton, 'attribute', 'id') Danpol 1 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Danpol Posted July 16, 2019 Share Posted July 16, 2019 (edited) @Danp2 Thank you so much, I was working on it for 15 min but it was so easy, sorry for bothering Edited July 16, 2019 by Danpol Link to comment Share on other sites More sharing options...
Danpol Posted July 17, 2019 Share Posted July 17, 2019 Is there anyway to do somethink like this? $OElements = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//td[@class='someclass' and @id LIKE 'some part of id']", "", True) Now I'm getting all the Elements with class someclass, by: $OElements = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//td[@class='someclass']", "", True) and then, on array ~1000 I'm using: StringInStr(_WD_ElementAction($sSession, $OElements[$i], 'attribute', 'id'), "some part of id") That way is not very fast, it takes too long imo. Link to comment Share on other sites More sharing options...
Danp2 Posted July 17, 2019 Author Share Posted July 17, 2019 Yes, it should be possible with the correct xpath locator. Have you tried searching the web for a solution? 😎 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Danpol Posted July 18, 2019 Share Posted July 18, 2019 Ok, I found it, solution: Xpath=//[contains(@id,'part of id')] Is there any option to run chrome in background? When I'm creating new tab, and switching to it, chrome is going on top and disturbing f.e. writing. I wish there would be a option "find in topic" :/ Link to comment Share on other sites More sharing options...
Danp2 Posted July 18, 2019 Author Share Posted July 18, 2019 9 minutes ago, Danpol said: Ok, I found it, solution Congrats! Not sure what you mean by "run chrome in background". Do you mean hidden or just not the topmost window? Please explain. 12 minutes ago, Danpol said: I wish there would be a option "find in topic" There is.... Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Recommended Posts