JackTurner 3 Posted January 14, 2017 Report Share Posted January 14, 2017 (edited) Hello ubotters, I am having some difficulty if someone could help me out I cant seem to change the drop down month on youtube Can you find what Im doing wrong, i tried xpath, element, html nada plugin command("ExBrowser.dll", "ExBrowser Change Dropdown2", "//*[@id=\":0\"]", $account data("Birth Month Word"), "Innertext") I also want too change gender, and cant seem too type in days ;/ Edited January 14, 2017 by JackTurner Quote Link to post Share on other sites
Bot-Factory 602 Posted January 15, 2017 Report Share Posted January 15, 2017 Hi. Not everything that looks like a dropdown is a html dropdown element.You have to check the source code. And if the command doesn't work on a certain element, then maybe the element is not a html dropdown.In such a case you can always just try to click it with the click command. If you can't type into some text boxes, it might be necessary to move your mouse to the element first and/or also click into the box before you type into it.Some websites enable elements based on mouse movements to prevent bots. Kindest regardsDan 1 Quote Link to post Share on other sites
kev123 132 Posted January 16, 2017 Report Share Posted January 16, 2017 heres example for first month the $rand is for number of items in dropdown plugin command("ExBrowser.dll", "ExBrowser Click", "z://div[@id=\':0\']")plugin command("ExBrowser.dll", "ExBrowser Wait For Element", "z:(//div[@class=\'goog-menuitem-content\'])[1]", "Appear", 30)plugin command("ExBrowser.dll", "ExBrowser Click", "z:(//div[@class=\'goog-menuitem-content\'])[{$rand(1,12)}]") 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.