kruk 0 Posted May 5, 2017 Report Share Posted May 5, 2017 Hello everyone,First of all I would like to tell that I am an beginner and maybe this issue is very ease to solve but I have tried my best and I am still unable to click one problematic button.When my bot is running, there is a popup window with "add" button. - screen shot in the attachment Code of this button: <div class="btns"><a href="javascript:addProductVariant(61834739);" onclick="" class="add"></a></div> I am not only unable to click it by "click" function but also when I'm trying to click it by mouse.I have already tried to change user agent but it doesn't work.Could someone please explain me how should I deal with this button? If you need more information please let me know. Regards,Paweł Kruk Quote Link to post Share on other sites
HelloInsomnia 1103 Posted May 5, 2017 Report Share Posted May 5, 2017 Use In Popup and run the code to close it in there: http://wiki.ubotstudio.com/wiki/In_Popup Quote Link to post Share on other sites
kruk 0 Posted May 8, 2017 Author Report Share Posted May 8, 2017 (edited) Thanks for reply, I have tried In Popup and it's still not clickable. Few more information: Previous buttons in that window are clickable without any problem. I am 100% sure that this button is clickable because I have tried it in web browser. http://xxlgastro.nazwa.pl/ubot/sshot.PNG Edited May 8, 2017 by kruk Quote Link to post Share on other sites
HelloInsomnia 1103 Posted May 8, 2017 Report Share Posted May 8, 2017 The number in the href will probably change so try using a wildcard (select wildcard in element editor and use a * instead of the numbers) or targeting it in some other way like by class name. Quote Link to post Share on other sites
augustorusso 1 Posted May 10, 2017 Report Share Posted May 10, 2017 try not to use $element offset. maybe <class="add"> as parameter works for you, check if there isn't any other node with class="add" if it still not work, try to change the zoom (%) of the page, it seems strange, but i've had clicking problems many times and chaning the zoom solved. 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.