ed08724 6 Posted January 29, 2017 Report Share Posted January 29, 2017 Can someone please give me the ubot click command to click the next button in the below html.Its the 4th hrefThanks.<div style="display:block;padding:4px;"> <table width="100%"> <tbody><tr> <td class="tiny" align="left" width="77%"> <strong>Displaying Items 1 to 50</strong> </td> <td class="tiny" align="right" width="23%"> <strong>1</strong> <a href="javascript:iterate('H4sIAAAAAAAAAHWNTwuCQBTEv8rj3c23/t2V3YXQJbxomAWdRMuTlaJ+f1oCTxLMMJffzMhugLdCxrngzBdEIcKqMC9upqjL6t5UJjX5uUZYFIaE8OkUBgjTL7ScoVVombLKmuxYG4RRYWYuqSmyvDhZYoHHq11s+9muPWqPWOQQczwBxBMiqwPBtU6lu2jZ7+B4g+MkFFYb3GvpzlpOMCv0mRAhRRHj9m/8MxHs/kY7MVl3g/4C5NYJNAcBAAA=',2);">2</a> <a href="javascript:iterate('H4sIAAAAAAAAAHWOOwuDQBCE/8qyvXF9nC/uDoIewUaDMYFUoomVSRT1/5MlYCWBGab5dmZlN8BboRNFceR4MZFAWBXmxc0UdVndm8qkJj/XCItCQQifTqGPMP1CyxlahcyUVdZkx9ogjAozc0lNkeXFiYkFHq924etnu/aoXXICixzLjYGihIh1ILjWqbQXLfsdHG5wmIiYtcG9lvas5QQzf+/6gQi9IBS8N/6p8Hd7I1dM7G7QX9mp0SYHAQAA',3);">3</a> <a href="javascript:iterate('H4sIAAAAAAAAAHWOTQuCQBCG/8ow93LWj1xldyF0CS8aZkEn0fJkpaj/n4bAkwTvMJfn/VBtD2+NQspICi8iChAWjVl+s3lVlPe6tInNzhXCrDEghE+r0UcYf8+oCRqNzBRlWqfHyiIMGlN7SWyeZvmJiRker2Zm97NZOjQuicOOxM6NgGRMxNoTXKtEObNR3QYOVziMg4i1wp1RzmTUCBPv4vHSD4XHdcOfBLGpGzhh5Gt78wUpTt77BgEAAA==',4);">4</a> <a href="javascript:iterate('H4sIAAAAAAAAAG2NywqDMBREf+Vy99YbH/FBEigmFDdarC10Jdq6sq2i/j8NBVcWZpjNmRnRDfCWyOI4iZmfEIUIq8S8uJmiLqt7U5nM5OcaYZEYEsKnkxggTL9QYoZWomXKSjf6WBuEUaI2l8wUOi9Olljg8WoX2362a4/KI8YdYo6XAMUpkdWB4Fpnwl2U6HdwtMFRGiZWG9wr4c5KTDBL5NwPfB5w396N/xfY/m60C5N1N6gvOlrcNQYBAAA=',5);">5</a> <a href="javascript:iterate('H4sIAAAAAAAAAHWNTwuCQBTEv8rj3c23/t2V3YXQJbxomAWdRMuTlaJ+f1oCTxLMMJffzMhugLdCxrngzBdEIcKqMC9upqjL6t5UJjX5uUZYFIaE8OkUBgjTL7ScoVVombLKmuxYG4RRYWYuqSmyvDhZYoHHq11s+9muPWqPWOQQczwBxBMiqwPBtU6lu2jZ7+B4g+MkFFYb3GvpzlpOMCv0mRAhRRHj9m/8MxHs/kY7MVl3g/4C5NYJNAcBAAA=',2);">Next</a> </td> </tr> </tbody></table></div> Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted January 29, 2017 Report Share Posted January 29, 2017 Hi, You can try this but without being on the page it is really hard to do better. click(<innertext=4>,"Left Click","No") Regards,Nick Quote Link to post Share on other sites
ed08724 6 Posted January 29, 2017 Author Report Share Posted January 29, 2017 (edited) Thanks Nick. Edited January 29, 2017 by ed08724 Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted January 29, 2017 Report Share Posted January 29, 2017 no problem, how that helped. Quote Link to post Share on other sites
ed08724 6 Posted February 1, 2017 Author Report Share Posted February 1, 2017 now I need to click the Next in the following.I tried click(<innertext="Next">,"Left Click","No")but it didn't work.Note that their are 4 links on the same line and I need to click the Next and not the 1,2, or 3.Thanks. <tr class="list-row"><td colspan="6"> <table width="100%" cellpadding="3" cellspacing="0"> <tbody><tr> <td width="35%" align="left" class="tiny">Orders <strong>1 - 15</strong> of <strong>34</strong></td> <td width="30%" align="center" class="tiny"> </td> <td width="35%" align="right" class="tiny"> <span class="tiny"> <strong class="currentpagination">1</strong> <a href="https://sellercentral.amazon.com/gp/orders-v2/list?ie=UTF8&byDate=orderDate¤tPage=2&exactDateBegin=1%2F1%2F17&exactDateEnd=1%2F31%2F17&isDebug=&isSearch=1&itemsPerPage=15&paymentFilter=Default&preCalculatedOrderCount=34&preSelectedRange=30&searchDateOption=preSelected&searchFulfillers=all&searchKeyword=&searchLanguage=en_US&searchType=0&shipExactDateBegin=12%2F16%2F16&shipExactDateEnd=2%2F7%2F17&shipSearchDateOption=shipPreSelected&shipSelectedRange=7&shipmentFilter=Default&shippingServiceFilter=All&showCancelled=0&showPending=1&sortBy=OrderStatusDescending&statusFilter=Default" class="myo_list_orders_link" onclick="return MYO.LO.DoAjaxSearchCall(this);">2</a> <a href="https://sellercentral.amazon.com/gp/orders-v2/list?ie=UTF8&byDate=orderDate¤tPage=3&exactDateBegin=1%2F1%2F17&exactDateEnd=1%2F31%2F17&isDebug=&isSearch=1&itemsPerPage=15&paymentFilter=Default&preCalculatedOrderCount=34&preSelectedRange=30&searchDateOption=preSelected&searchFulfillers=all&searchKeyword=&searchLanguage=en_US&searchType=0&shipExactDateBegin=12%2F16%2F16&shipExactDateEnd=2%2F7%2F17&shipSearchDateOption=shipPreSelected&shipSelectedRange=7&shipmentFilter=Default&shippingServiceFilter=All&showCancelled=0&showPending=1&sortBy=OrderStatusDescending&statusFilter=Default" class="myo_list_orders_link" onclick="return MYO.LO.DoAjaxSearchCall(this);">3</a> <a href="https://sellercentral.amazon.com/gp/orders-v2/list?ie=UTF8&byDate=orderDate¤tPage=2&exactDateBegin=1%2F1%2F17&exactDateEnd=1%2F31%2F17&isDebug=&isSearch=1&itemsPerPage=15&paymentFilter=Default&preCalculatedOrderCount=34&preSelectedRange=30&searchDateOption=preSelected&searchFulfillers=all&searchKeyword=&searchLanguage=en_US&searchType=0&shipExactDateBegin=12%2F16%2F16&shipExactDateEnd=2%2F7%2F17&shipSearchDateOption=shipPreSelected&shipSelectedRange=7&shipmentFilter=Default&shippingServiceFilter=All&showCancelled=0&showPending=1&sortBy=OrderStatusDescending&statusFilter=Default" class="myo_list_orders_link" onclick="return MYO.LO.DoAjaxSearchCall(this);">Next</a> </span> </td> </tr></tbody> </table> </td></tr> Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted February 1, 2017 Report Share Posted February 1, 2017 click(<class="myo_list_orders_link">,"Left Click","No") If you open the element editor there is a drop down to choose different attributes. Sometimes you can just scrape the link and navigate to the page. Regards,Nick Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.