Danp2 Posted August 6, 2018 Author Share Posted August 6, 2018 @BigDaddyO I took a slightly different approach in modifying __WD_Error. Take a look and let me know if you see any issues. Func __WD_Error($sWhere, $i_WD_ERROR, $sMessage = "") Local $sMsg Switch $_WD_DEBUG Case $_WD_DEBUG_None Case $_WD_DEBUG_Error If $i_WD_ERROR <> $_WD_ERROR_Success Then ContinueCase Case $_WD_DEBUG_Info $sMsg = $sWhere & " ==> " & $aWD_ERROR_DESC[$i_WD_ERROR] If $sMessage <> "" Then $sMsg = $sMsg & ": " & $sMessage EndIf ConsoleWrite($sMsg & @CRLF) If @Compiled Then If $_WD_ERROR_MSGBOX And $i_WD_ERROR < 6 Then MsgBox(16, "WD_Core.au3 Error:", $sMsg) DllCall("kernel32.dll", "none", "OutputDebugString", "str", $sMsg) EndIf EndSwitch Return $i_WD_ERROR EndFunc ;==>__WD_Error Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
BigDaddyO Posted August 7, 2018 Share Posted August 7, 2018 Well, after reading up on what ContinueCase does, I don't see any problems with what you have. i'll download the latest from GitHub and check it out. Link to comment Share on other sites More sharing options...
BrewManNH Posted August 7, 2018 Share Posted August 7, 2018 (edited) I don't know if it makes a difference here, but remember ContinueCase will execute the code inside the following case without running the comparison test in the next case statement. In other words, it will jump into the next case statement regardless of whether the test in the next Case is true or not. Edited August 7, 2018 by BrewManNH If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
Danyfirex Posted August 7, 2018 Share Posted August 7, 2018 I would prefer to do something like that: Func __WD_Error($sWhere, $i_WD_ERROR, $sMessage = "") Local $sMsg = $sWhere & " ==> " & $aWD_ERROR_DESC[$i_WD_ERROR] & ($sMessage <> "" ? ": " & $sMessage : "") Switch $_WD_DEBUG Case $_WD_DEBUG_None Case $_WD_DEBUG_Error If $i_WD_ERROR <> $_WD_ERROR_Success Then __WD_Error_Debug($sMsg,$i_WD_ERROR) EndIf Case $_WD_DEBUG_Info __WD_Error_Debug($sMsg,$i_WD_ERROR) EndSwitch Return $i_WD_ERROR EndFunc ;==>__WD_Error Func __WD_Error_Debug($sMsg,$i_WD_ERROR) ConsoleWrite($sMsg & @CRLF) If @Compiled Then If $_WD_ERROR_MSGBOX And $i_WD_ERROR < $_WD_ERROR_Timeout Then MsgBox(16, "WD_Core.au3 Error:", $sMsg) DllCall("kernel32.dll", "none", "OutputDebugString", "str", $sMsg) EndIf EndFunc ;==>_WD_Error_Debug Sorry about syntax highlighter, I can't load it with my 10kbs connection :S Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
BigDaddyO Posted August 10, 2018 Share Posted August 10, 2018 (edited) Edit: SOLVED, see below. I'm trying to run my automation from a server which has some additional security policy and it blocks Chrome Unpacked extensions. I found a way to get around that by disabling the Automation Extension: Chromium Bug 1749 per that link: You can set the "useAutomationExtension" capability to false. ChromeOptions options = new ChromeOptions(); options.setExperimentalOption("useAutomationExtension", false); WebDriver driver = new ChromeDriver(options); This capability will help to not load Chrome Automation extension. Due to which, "Failed to load extension" popup would not appear. But please note you will not be able to perform any window resizing/positioning operations without the Chrome automation extension. But I can't figure out how to use that .setExperimentalOption() feature. I tried $sDesiredCapabilities = '{"capabilities": {"alwaysMatch": {"chromeOptions": {"w3c": true, "args":["start-maximized", "disable-infobars"] }}{"setExperimentalOption":{"useAutomationExtension": false}}}}' but that didn't work. Found the correct way, not using the experimental and just setting it as a normal option. $sDesiredCapabilities = '{"capabilities": {"alwaysMatch": {"chromeOptions": {"w3c": true, "useAutomationExtension": false, "args":["start-maximized", "disable-infobars"] }}}}' Edited August 10, 2018 by BigDaddyO omarjr16 1 Link to comment Share on other sites More sharing options...
Shogi Posted September 6, 2018 Share Posted September 6, 2018 help me please... how can i press that button? Link to comment Share on other sites More sharing options...
Shogi Posted September 6, 2018 Share Posted September 6, 2018 i tried this but it didnt work Link to comment Share on other sites More sharing options...
Danp2 Posted September 6, 2018 Author Share Posted September 6, 2018 Can you explain why you need the loop? Also, your xpath is wrong (change "//input" to "//div"). P.S. Please don't post images of code. Instead post the code itself using the code toolbar button (looks like <>) Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Shogi Posted September 6, 2018 Share Posted September 6, 2018 @Danp2 thank you for the help i love u <3 that was so stupid i forget to change the xpath...i need to control a lot of windows in the same time thats why im using loop Link to comment Share on other sites More sharing options...
Danp2 Posted September 7, 2018 Author Share Posted September 7, 2018 @Shogi Is this for Chromo Quest? You should read the following if you haven't already done so -- Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Shogi Posted September 7, 2018 Share Posted September 7, 2018 @Danp2 Its not... it's related to offline html game, i was just testing the UDF... is that against the rules ?! Link to comment Share on other sites More sharing options...
Danp2 Posted September 7, 2018 Author Share Posted September 7, 2018 @Shogi You should definitely read the rules I linked earlier as there is a rule regarding gaming / game automation. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Shogi Posted September 7, 2018 Share Posted September 7, 2018 @Danp2 Thank you for u warning me i will make sure that i will read all the rules Link to comment Share on other sites More sharing options...
omarjr16 Posted September 7, 2018 Share Posted September 7, 2018 how can i change it to female?any idea? <div class="gender" id="genderselect" style="display: inline-block; left: 1040px; top: 185px;"> <label for="ul-id"> <button type="button" class="ng-building"> Male </button> </label> <ul role="listbox" id="ul-id" class="md-whiteframe-z1" name="ul-id"> <li role="option" id="selectDisabled"><span id="gen">Gender</span></li> <li role="option">Male</li> <li role="option">Female</li>> </ul> </div> Link to comment Share on other sites More sharing options...
omarjr16 Posted September 7, 2018 Share Posted September 7, 2018 <button class="videoAdUiSkipButton videoAdUiAction videoAdUiRedesignedSkipButton"><div class="videoAdUiSkipButtonExperimentalText videoAdUiFixedPaddingSkipButtonText">Skip Ad</div><div class="videoAdUiExperimentalSkipIcon videoAdUiFixedPaddingSkipButtonIcon"></div></button> i want to skip google ad by pressing that button but that didnt work idk why :c my script: _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//button[@class='videoAdUiSkipButton videoAdUiAction videoAdUiRedesignedSkipButton']") _WD_ElementAction($sSession,$sElement,'click') Link to comment Share on other sites More sharing options...
Danp2 Posted September 7, 2018 Author Share Posted September 7, 2018 10 hours ago, omarjr16 said: how can i change it to female?any idea? Your code below should work as long as the xpath is correct for the desired LI element. Actually, you need to capture the returned element from _WDFindElement. Otherwise, how does $sElement get its value? 5 hours ago, omarjr16 said: _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//button[@class='videoAdUiSkipButton videoAdUiAction videoAdUiRedesignedSkipButton']") _WD_ElementAction($sSession,$sElement,'click') See above comment. Post the results from the Scite output panel. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
omarjr16 Posted September 7, 2018 Share Posted September 7, 2018 $sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//button[@class='videoAdUiSkipButton videoAdUiAction videoAdUiRedesignedSkipButtonng-binding']") ConsoleWrite("'$sElement': " & $sElement & @CRLF) ;returns empty string...? ConsoleWrite("'$sElement' text: " & _WD_ElementAction($sSession, $sElement, 'text') & @CRLF) ;returns empty string...? ConsoleWrite("'$sElement' rect: " & _WD_ElementAction($sSession, $sElement, 'rect') & @CRLF) ;returns empty string...??? _WD_ElementAction($sSession,$sElement,'click') Link to comment Share on other sites More sharing options...
omarjr16 Posted September 7, 2018 Share Posted September 7, 2018 @Danp2 ;-; $sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//button[@class='videoAdUiSkipButton videoAdUiAction videoAdUiRedesignedSkipButtonng-binding']") ConsoleWrite("'$sElement': " & $sElement & @CRLF) ;returns empty string...? ConsoleWrite("'$sElement' text: " & _WD_ElementAction($sSession, $sElement, 'text') & @CRLF) ;returns empty string...?? ConsoleWrite("'$sElement' rect: " & _WD_ElementAction($sSession, $sElement, 'rect') & @CRLF) ;returns empty string...??? _WD_ElementAction($sSession,$sElement,'click') >"C:\Program Files (x86)\autoit\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\Admin\Desktop\UDF\udf\chrom\Browserudf - Copie.au3" _WDStartup: "chromedriver.exe" --verbose --log-path=C:\Users\Admin\Desktop\UDF\udf\chrom\chrome2.log '$sElement': '$sElement' text: '$sElement' rect: Link to comment Share on other sites More sharing options...
Danp2 Posted September 7, 2018 Author Share Posted September 7, 2018 You should check the value of @error after the call to _WD_FindElement. Also, I was expecting to see more logging in the console window. Can you try again but set $_WD_DEBUG = $_WD_DEBUG_Info Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
omarjr16 Posted September 7, 2018 Share Posted September 7, 2018 >"C:\Program Files (x86)\autoit\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\Admin\Desktop\UDF\udf\chrom\Browserudf - Copie.au3" _WDStartup: OS: WIN_10 WIN32_NT 15063 _WDStartup: AutoIt: 3.3.14.5 _WDStartup: WD.au3: 0.1.0.10 _WDStartup: Driver: chromedriver.exe _WDStartup: Params: --verbose --log-path=C:\Users\Admin\Desktop\UDF\udf\chrom\chrome2.log _WDStartup: Port: 9515 __WD_Post: URL=HTTP://127.0.0.1:9515/session; $sData={"capabilities": {"alwaysMatch": {"chromeOptions": {"w3c": true } }}} __WD_Post: StatusCode=200; ResponseText={"value":{"capabilities":{"acceptInsecureCerts":false,"acceptSslCerts":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{"chromedriverVersion":"2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e)","userDataDir":"C:\\Users\\Admin\\AppData\\Local\\Temp\\scoped_dir3660_9957"},"cssSelectorsEnabled":true,"databaseEnabled":false,"goog:chromeOptions":{"debuggerAddress":"localhost:3457"},"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,"unexpectedAlertBehaviour":"","version":"69.0.3497.81","webStorageEnabled":true},"sessionId":"b2a19e1b631984f79ef5d7035be4d99c"}} _WD_CreateSession: {"value":{"capabilities":{"acceptInsecureCerts":false,"acceptSslCerts":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{"chromedriverVersion":"2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e)","userDataDir":"C:\\Users\\Admin\\AppData\\Local\\Temp\\scoped_dir3660_9957"},"cssSelectorsEnabled":true,"databaseEnabled":false,"goog:chromeOptions":{"debuggerAddress":"localhost:3457"},"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,"unexpectedAlertBehaviour":"","version":"69.0.3497.81","webStorageEnabled":true},"sessionId":"b2a19e1b631984f79ef5d7035be4d99c"}} __WD_Post: URL=HTTP://127.0.0.1:9515/session/b2a19e1b631984f79ef5d7035be4d99c/element; $sData={"using":"xpath","value":"//button[@class='videoAdUiSkipButton videoAdUiAction videoAdUiRedesignedSkipButtonng-binding']"} __WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//button[@class='videoAdUiSkipButton videoAdUiAction videoAdUiRedesignedSkipButtonng-binding']\"}(Session infochrome=69.0.3497.81)","stacktrace":"Backtrace:\n\tOrdinal0 [0x002842E0+803552]\n\tOrdinal0 [0x0022E1BD+451005]\n\tOrdinal0 [0x0020925D+299613]\n\tOrdinal0 [0x001D777E+96126]\n\tOrdinal0 [0x001F15E0+202208]\n\tOrdinal0 [0x001E8EA0+167584]\n\tOrdinal0 [0x001F022B+197163]\n\tOrdinal0 [0x001E8D3B+167227]\n\tOrdinal0 [0x001D2418+74776]\n\tOrdinal0 [0x001D3876+79990]\n\tOrdinal0 [0x001D3810+79888]\n\tOrdinal0 [0x0028EB32+846642]\n\tOrdinal0 [0x0023A55E+501086]\n\tOrdinal0 [0x0023A883+501891]\n\tOrdinal0 [0x0023AA03+502275]\n\tOrdinal0 [0x0028FE37+851511]\n\tOrdinal0 [0x0023A29F+500383]\n\tOrdinal0 [0x002447AE+542638]\n\tOrdinal0 [0x0024FABB+588475]\n\tOrdinal0 [0x0024FC25+588837]\n\tOrdinal0 [0x0024EDDB+585179]\n\tBaseThreadInitThunk [0x74DC8744+36]\n\tRtlGetAppContainerNamedObjectPath [0x774958ED+253]\n\tRtlGetAppContainerNamedObjectPath [0x774958BD+205]\n"}} _WD_FindElement: {"value":{"error":"no such element","message":"Unable to locate element{\"method\"\"xpath\",\"selector\"\"//button[@class='videoAdUiSkipButton videoAdUiAction videoAdUiRedesignedSkipButtonng-binding']\"}(Session infochrome=69.0.3497.81)","stacktrace":"Backtrace:\n\tOrdinal0 [0x002842E0+803552]\n\tOrdinal0 [0x0022E1BD+451005]\n\tOrdinal0 [0x0020925D+299613]\n\tOrdinal0 [0x001D777E+96126]\n\tOrdinal0 [0x001F15E0+202208]\n\tOrdinal0 [0x001E8EA0+167584]\n\tOrdinal0 [0x001F022B+197163]\n\tOrdinal0 [0x001E8D3B+167227]\n\tOrdinal0 [0x001D2418+74776]\n\tOrdinal0 [0x001D3876+79990]\n\tOrdinal0 [0x001D3810+79888]\n\tOrdinal0 [0x0028EB32+846642]\n\tOrdinal0 [0x0023A55E+501086]\n\tOrdinal0 [0x0023A883+501891]\n\tOrdinal0 [0x0023AA03+502275]\n\tOrdinal0 [0x0028FE37+851511]\n\tOrdinal0 [0x0023A29F+500383]\n\tOrdinal0 [0x002447AE+542638]\n\tOrdinal0 [0x0024FABB+588475]\n\tOrdinal0 [0x0024FC25+588837]\n\tOrdinal0 [0x0024EDDB+585179]\n\tBaseThreadInitThunk [0x74DC8744+36]\n\tRtlGetAppContainerNamedObjectPath [0x774958ED+253]\n\tRtlGetAppContainerNamedObjectPath [0x774958BD+205]\n"}} _WD_FindElement ==> No match: HTTP status = 404 '$sElement': __WD_Get: URL=HTTP://127.0.0.1:9515/session/b2a19e1b631984f79ef5d7035be4d99c/element//text __WD_Get: StatusCode=404; $sResponseText={"value":{"error":"stale element reference","message":"element is not attached to the page document(Session infochrome=69.0.3497.81)","stacktrace":"Backtrace:\n\tOrdinal0 [0x002842E0+803552]\n\tOrdinal0 [0x0022E1BD+451005]\n\tOrdinal0 [0x0020925D+299613]\n\tOrdinal0 [0x0020AF1D+306973]\n\tOrdinal0 [0x0020AE06+306694]\n\tOrdinal0 [0x001D5F01+89857]\n\tOrdinal0 [0x001E8E6D+167533]\n\tOrdinal0 [0x001D43A8+82856]\n\tOrdinal0 [0x001E9081+168065]\n\tOrdinal0 [0x001F022B+197163]\n\tOrdinal0 [0x001E8D3B+167227]\n\tOrdinal0 [0x001D2418+74776]\n\tOrdinal0 [0x001D3876+79990]\n\tOrdinal0 [0x001D3810+79888]\n\tOrdinal0 [0x0028EB32+846642]\n\tOrdinal0 [0x0023A55E+501086]\n\tOrdinal0 [0x0023A883+501891]\n\tOrdinal0 [0x0023AA03+502275]\n\tOrdinal0 [0x0028FE37+851511]\n\tOrdinal0 [0x0023A29F+500383]\n\tOrdinal0 [0x002447AE+542638]\n\tOrdinal0 [0x0024FABB+588475]\n\tOrdinal0 [0x0024FC25+588837]\n\tOrdinal0 [0x0024EDDB+585179]\n\tBaseThreadInitThunk [0x74DC8744+36]\n\tRtlGetAppContainerNamedObjectPath [0x774958ED+253]\n\tRtlGetAppContainerNamedObjectPath [0x774958BD+205]\n"}} _WD_ElementAction: {"value":{"error":"stale element reference","message":"element is not attached to the page document(Session infochrome=69.0.3497.81)","stacktrace":"Backtrace:\n\tOrdinal0 [0x002842E0+803552]\n\tOrdinal0 [0x0022E1BD+451005]\n\tOrdinal0 [0x0020925D+299613]\n\tOrdinal0 [0x0020AF1D+306973]\n\tOrdinal0 [0x0020AE06+306694]\n\tOrdinal0 [0x001D5F01+89857]\n\tOrdinal0 [0x001E8E6D+167533]\n\tOrdinal0 [0x001D43A8+82856]\n\tOrdinal0 [0x001E9081+168065]\n\tOrdinal0 [0x001F022B+197163]\n\tOrdinal0 [0x001E8D3B+167227]\n\tOrdinal0 [0x001D2418+74776]\n\tOrdinal0 [0x001D3876+79990]\n\tOrdinal0 [0x001D3810+79888]\n\tOrdinal0 [0x0028EB32+846642]\n\tOrdinal0 [0x0023A55E+501086]\n\tOrdinal0 [0x0023A883+501891]\n\tOrdinal0 [0x0023AA03+502275]\n\tOrdinal0 [0x0028FE37+851511]\n\tOrdinal0 [0x0023A29F+500383]\n\tOrdinal0 [0x002447AE+542638]\n\tOrdinal0 [0x0024FABB+588475]\n\tOrdinal0 [0x0024FC25+588837]\n\tOrdinal0 [0x0024EDDB+585179]\n\tBaseThreadInitThunk [0x74DC8744+36]\n\tRtlGetAppContainerNamedObjectPath [0x774958ED+253]\n\tRtlGetAppContainerNamedObjectPath [0x774958BD+205]\n"}} '$sElement' text: __WD_Get: URL=HTTP://127.0.0.1:9515/session/b2a19e1b631984f79ef5d7035be4d99c/element//rect __WD_Get: StatusCode=404; $sResponseText={"value":{"error":"stale element reference","message":"element is not attached to the page document(Session infochrome=69.0.3497.81)","stacktrace":"Backtrace:\n\tOrdinal0 [0x002842E0+803552]\n\tOrdinal0 [0x0022E1BD+451005]\n\tOrdinal0 [0x0020925D+299613]\n\tOrdinal0 [0x0020AF1D+306973]\n\tOrdinal0 [0x0020AE06+306694]\n\tOrdinal0 [0x001D656C+91500]\n\tOrdinal0 [0x001E8E6D+167533]\n\tOrdinal0 [0x001D43A8+82856]\n\tOrdinal0 [0x001E9081+168065]\n\tOrdinal0 [0x001F022B+197163]\n\tOrdinal0 [0x001E8D3B+167227]\n\tOrdinal0 [0x001D2418+74776]\n\tOrdinal0 [0x001D3876+79990]\n\tOrdinal0 [0x001D3810+79888]\n\tOrdinal0 [0x0028EB32+846642]\n\tOrdinal0 [0x0023A55E+501086]\n\tOrdinal0 [0x0023A883+501891]\n\tOrdinal0 [0x0023AA03+502275]\n\tOrdinal0 [0x0028FE37+851511]\n\tOrdinal0 [0x0023A29F+500383]\n\tOrdinal0 [0x002447AE+542638]\n\tOrdinal0 [0x0024FABB+588475]\n\tOrdinal0 [0x0024FC25+588837]\n\tOrdinal0 [0x0024EDDB+585179]\n\tBaseThreadInitThunk [0x74DC8744+36]\n\tRtlGetAppContainerNamedObjectPath [0x774958ED+253]\n\tRtlGetAppContainerNamedObjectPath [0x774958BD+205]\n"}} _WD_ElementAction: {"value":{"error":"stale element reference","message":"element is not attached to the page document(Session infochrome=69.0.3497.81)","stacktrace":"Backtrace:\n\tOrdinal0 [0x002842E0+803552]\n\tOrdinal0 [0x0022E1BD+451005]\n\tOrdinal0 [0x0020925D+299613]\n\tOrdinal0 [0x0020AF1D+306973]\n\tOrdinal0 [0x0020AE06+306694]\n\tOrdinal0 [0x001D656C+91500]\n\tOrdinal0 [0x001E8E6D+167533]\n\tOrdinal0 [0x001D43A8+82856]\n\tOrdinal0 [0x001E9081+168065]\n\tOrdinal0 [0x001F022B+197163]\n\tOrdinal0 [0x001E8D3B+167227]\n\tOrdinal0 [0x001D2418+74776]\n\tOrdinal0 [0x001D3876+79990]\n\tOrdinal0 [0x001D3810+79888]\n\tOrdinal0 [0x0028EB32+846642]\n\tOrdinal0 [0x0023A55E+501086]\n\tOrdinal0 [0x0023A883+501891]\n\tOrdinal0 [0x0023AA03+502275]\n\tOrdinal0 [0x0028FE37+851511]\n\tOrdinal0 [0x0023A29F+500383]\n\tOrdinal0 [0x002447AE+542638]\n\tOrdinal0 [0x0024FABB+588475]\n\tOrdinal0 [0x0024FC25+588837]\n\tOrdinal0 [0x0024EDDB+585179]\n\tBaseThreadInitThunk [0x74DC8744+36]\n\tRtlGetAppContainerNamedObjectPath [0x774958ED+253]\n\tRtlGetAppContainerNamedObjectPath [0x774958BD+205]\n"}} '$sElement' rect: __WD_Post: URL=HTTP://127.0.0.1:9515/session/b2a19e1b631984f79ef5d7035be4d99c/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=69.0.3497.81)","stacktrace":"Backtrace:\n\tOrdinal0 [0x002842E0+803552]\n\tOrdinal0 [0x0022E1BD+451005]\n\tOrdinal0 [0x0020925D+299613]\n\tOrdinal0 [0x0020AF1D+306973]\n\tOrdinal0 [0x0020AE06+306694]\n\tOrdinal0 [0x001D816A+98666]\n\tOrdinal0 [0x001D460D+83469]\n\tOrdinal0 [0x001E8E6D+167533]\n\tOrdinal0 [0x001D43A8+82856]\n\tOrdinal0 [0x001E9081+168065]\n\tOrdinal0 [0x001F022B+197163]\n\tOrdinal0 [0x001E8D3B+167227]\n\tOrdinal0 [0x001D2418+74776]\n\tOrdinal0 [0x001D3876+79990]\n\tOrdinal0 [0x001D3810+79888]\n\tOrdinal0 [0x0028EB32+846642]\n\tOrdinal0 [0x0023A55E+501086]\n\tOrdinal0 [0x0023A883+501891]\n\tOrdinal0 [0x0023AA03+502275]\n\tOrdinal0 [0x0028FE37+851511]\n\tOrdinal0 [0x0023A29F+500383]\n\tOrdinal0 [0x002447AE+542638]\n\tOrdinal0 [0x0024FABB+588475]\n\tOrdinal0 [0x0024FC25+588837]\n\tOrdinal0 [0x0024EDDB+585179]\n\tBaseThreadInitThunk [0x74DC8744+36]\n\tRtlGetAppContainerNamedObjectPath [0x774958ED+253]\n\tRtlGetAppContainerNamedObjectPath [0x774958BD+205]\n"}} _WD_ElementAction: {"value":{"error":"stale element reference","message":"element is not attached to the page document(Session infochrome=69.0.3497.81)","stacktrace":"Backtrace:\n\tOrdinal0 [0x002842E0+803552]\n\tOrdinal0 [0x0022E1BD+451005]\n\tOrdinal0 [0x0020925D+299613]\n\tOrdinal0 [0x0020AF1D+306973]\n\tOrdinal0 [0x0020AE06+306694]\n\tOrdinal0 [0x001D816A+98666]\n\tOrdinal0 [0x001D460D+83469]\n\tOrdinal0 [0x001E8E6D+167533]\n\tOrdinal0 [0x001D43A8+82856]\n\tOrdinal0 [0x001E9081+168065]\n\tOrdinal0 [0x001F022B+197163]\n\tOrdinal0 [0x001E8D3B+167227]\n\tOrdinal0 [0x001D2418+74776]\n\tOrdinal0 [0x001D3876+79990]\n\tOrdinal0 [0x001D3810+79888]\n\tOrdinal0 [0x0028EB32+846642]\n\tOrdinal0 [0x0023A55E+501086]\n\tOrdinal0 [0x0023A883+501891]\n\tOrdinal0 [0x0023AA03+502275]\n\tOrdinal0 [0x0028FE37+851511]\n\tOrdinal0 [0x0023A29F+500383]\n\tOrdinal0 [0x002447AE+542638]\n\tOrdinal0 [0x0024FABB+588475]\n\tOrdinal0 [0x0024FC25+588837]\n\tOrdinal0 [0x0024EDDB+585179]\n\tBaseThreadInitThunk [0x74DC8744+36]\n\tRtlGetAppContainerNamedObjectPath [0x774958ED+253]\n\tRtlGetAppContainerNamedObjectPath [0x774958BD+205]\n"}} >Exit code: 0 Time: 136.9 @Danp2 Link to comment Share on other sites More sharing options...
Recommended Posts