Search the Community
Showing results for tags 'wd_helper.au3'.
-
I am using wd_core.au3 and wd_helper.au3. I am trying to access the "Redwood - Run my jobs" job interface. Some of the pages are created dynamically inside script like the below code snippet. This is what the _WD_GetSource function returns. So my Xpath seen on the actual page is not working. How to tackle this? Expert inputs required. Thanks in advance. </script></head><body class="UIMainPage" onload="handlePageLoad();" onunload="Custom.unloadWindow();" onresize="panel.layout();" oncontextmenu="return PopupMenu.popupFromElement(event);" onclick="if (event.which){if (event.which != 1) return;} else {if (event.button!=0)return;}PopupMenu.closeOpenMenu();" onkeydown="PopupMenu.closeOpenMenu();" actions="[['','','MainPage','MainPage','1',[['A','101302','1','',[],[]],['A','101303','1','',[],[]],['A','101305','1','',[null],[]],['A','101312','0','',[],[]],['A','101313','0','',[],[]],['A','101314','0','',[],[]],['A','101308','1','',[],[]],['A','101319','1','',[null,null],['Suggestions','<div class=\"UIEditPageFrame UIEditPageFrame-TopBorder\"><table class=\"UIModalDialog-Structure-MainBar UIEditPagePanel UIEditPageFields AutoWidth\"><colgroup><col class=\"AutoWidth\" /><col /></colgroup><tbody><tr><td colspan=\"2\" class=\"NoMaxWidth NoClip\"><div class=\"UIModalDialog-Structure-MainBar-Cell\">When using suggestions identifying information will be sent. Are you sure you want to proceed?</div></td></tr><tr><td><input type=\"checkbox\" id=\"suggestionConfirmationNeverAskAgain\" name=\"suggestionConfirmationNeverAskAgain\" checked=\"true\" /><label for=\"suggestionConfirmationNeverAskAgain\"></label></td><td class=\"UIModalDialog-Structure-MainBar-Label\"><label for=\"suggestionConfirmationNeverAskAgain\">Do not ask again</label></td></tr></tbody></table></div>',['OK'],[[null,null,null,'false','When using suggestions identifying information will be sent. Are you sure you want to proceed?','no-max-width-output','false','true','false'],['suggestionConfirmationNeverAskAgain','suggestionConfirmationNeverAskAgain','Do not ask again','true',null,'checkbox','false','true','false']]]],['A','101320','0','',[],[]],['A','101322','1','',[],[]],['A','101316','0','',[null],['Usage Data Collection','<div class=\"UIEditPageFrame UIEditPageFrame-TopBorder\"><table class=\"UIModalDialog-Structure-MainBar UIEditPagePanel UIEditPageFields\"><colgroup><col class=\"AutoWidth\" /></colgroup><tbody><tr><td class=\"NoMaxWidth NoClip\"><div class=\"UIModalDialog-Structure-MainBar-Cell\">Help Redwood improve its products and services by automatically sending diagnostic and usage data? (This answer can be changed at any time)</div></td></tr><tr><td class=\"UIModalDialog-Structure-MainBar-Cell\"><p><a href=\"#\" onclick=\"ContextHelp.showHelp(\'com.redwood.scheduler.ui.help.dummy.UsageData\');\">About diagnostics & privacy...</a></p></td></tr></tbody></table></div>',['Yes','No'],[[null,null,null,'false','Help Redwood improve its products and services by automatically sending diagnostic and usage data? (This answer can be changed at any time)','no-max-width-output','false','true','false'],[null,null,'About diagnostics & privacy...','false','ContextHelp.showHelp(\'com.redwood.scheduler.ui.help.dummy.UsageData\');','url','false','true','false']],'Ask me later','UIModalDialog-MinMaxWidth']],['A','101354','1','',[null,null,null,null],[]],['A','101366','1','',[null,null,null,null,null,null,null,null,null,null,null,null],[]],['A','101353','1','',[null,null,null],[]],['A','101361','1','',[null],[]],['A','101362','1','',[null,null],[]],['A','101355','1','',[null,null,null,null,null,null],[]],['A','101357','1','',[null,null,null,null],[]],['A','101359','0','',[null],[]],['A','101360','0','',[null],[]],['A','101363','0','',[],[]],['A','101358','1','',[null,null,null,null,null],[]],['A','101364','0','',[null],[]],['I','101323','1','',[null,null,null,null,null,null],['Search...', '']],['A','101367','1','',[],[]],['A','101368','0','',[],[]],['A','101372','1','',[null,null,null,null,null,null],[]],['A','101376','0','',[null,null],[]],['A','101377','0','',[null],[]]]]]"><div id="splash" class="UIMetaPageSplash" style="display: none;"> __WD_Post: URL=HTTP://127.0.0.1:9515/session/29ec406d2a934b9d5b1c1dc9377d62ef/element; $sData={"using":"xpath","value":"/html/body/form/div/div[1]/div/table/tbody/tr/td[1]/a"} __WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"no such element: Unable to locate element: {\"method\... __WD_Post ==> No match: {"value":{"error":"no such element","message":"no such element: Unable to locate element: {\"method\":\"xpath\",\"selector\":\"/html/body/form/div/div[1]/div/table/tbody/tr/td[1]/a\"}\n (Session info: chrome=110.0.5481.104)","stacktrace":"Backtrace:\n\t(No symbol) [0x014A6643]\n\t(No symbol) [0x0143BE21]\n\t(No symbol) [0x0133DA9D]\n\t(No symbol) [0x01371342]\n\t(No symbol) [0x0137147B]\n\t(No symbol) [0x013A8DC2]\n\t(No symbol) [0x0138FDC4]\n\t(No symbol) [0x013A6B09]\n\t(No symbol) [0x0138FB76]\n\t(No symbol) [0x013649C1]\n\t(No symbol) [0x01365E5D]\n\tGetHandleVerifier [0x0171A142+2497106]\n\tGetHandleVerifier [0x017485D3+2686691]\n\tGetHandleVerifier [0x0174BB9C+2700460]\n\tGetHandleVerifier [0x01553B10+635936]\n\t(No symbol) [0x01444A1F]\n\t(No symbol) [0x0144A418]\n\t(No symbol) [0x0144A505]\n\t(No symbol) [0x0145508B]\n\tBaseThreadInitThunk [0x770262C4+36]\n\tRtlSubscribeWnfStateChangeNotification [0x77261B69+1081]\n\tRtlSubscribeWnfStateChangeNotification [0x77261B34+1028]\n"}} _WD_FindElement: {"value":{"error":"no such element","message":"no such element: Unable to locate element: {\"method\":\"xpath\",\"selector\":\"/html/body/form/div/div[1]/div/table/tbody/tr/td[1]/a\"}\n (Session info: chrome=110.0.5481.104)","stacktrace":"Backtrace:\n\t(No symbol) [0x014A6643]\n\t(No symbol) [0x0143BE21]\n\t(No symbol) [0x0133DA9D]\n\t(No symbol) [0x01371342]\n\t(No symbol) [0x0137147B]\n\t(No symbol) [0x013A8DC2]\n\t(No symbol) [0x0138FDC4]\n\t(No symbol) [0x013A6B09]\n\t(No symbol) [0x0138FB76]\n\t(No symbol) [0x013649C1]\n\t(No symbol) [0x01365E5D]\n\tGetHandleVerifier [0x0171A142+2497106]\n\tGetHandleVerifier [0x017485D3+2686691]\n\tGetHandleVerifier [0x0174BB9C+2700460]\n\tGetHandleVerifier [0x01553B10+635936]\n\t(No symbol) [0x01444A1F]\n\t(No symbol) [0x0144A418]\n\t(No symbol) [0x0144A505]\n\t(No symbol) [0x0145508B]\n\tBaseThreadInitThunk [0x770262C4+36]\n\tRtlSubscribeWnfStateChangeNotification [0x77261B69+1081]\n\tRtlSubscribeWnfStateChangeNotification [0x77261B34+1028]\n"}} _WD_FindElement ==> No match: HTTP status = 404 -- Subramanian S.
- 5 replies
-
- wd_core.au3
- chrome_web_automation
-
(and 1 more)
Tagged with: