Dillon 0 Posted May 16, 2014 Report Share Posted May 16, 2014 I guess it won't actually be clicking since it'd be a HTTP request but in either case I can't seem to find any information that helps me figure out how I can achieve equivalent of clicking a button. Example of what I am wanting to do: Go webpage with non-autoplaying video and have a HTTP request go there and click the button. To clarify I am using Aymen's HTTP POST plugin. Any information would be much appreciated. It may not even be possible in the way I want, I really do not know. Thanks,Dillon Quote Link to post Share on other sites
UBotDev 276 Posted May 16, 2014 Report Share Posted May 16, 2014 I'm not using the plugin, but usually when you click a button another request is sent, so you need to send that request instead of "clicking the button" (since clicking only works when you load response into browser). Quote Link to post Share on other sites
Bot-Factory 602 Posted May 16, 2014 Report Share Posted May 16, 2014 I guess it won't actually be clicking since it'd be a HTTP request but in either case I can't seem to find any information that helps me figure out how I can achieve equivalent of clicking a button. Example of what I am wanting to do: Go webpage with non-autoplaying video and have a HTTP request go there and click the button. To clarify I am using Aymen's HTTP POST plugin. Any information would be much appreciated. It may not even be possible in the way I want, I really do not know. Thanks,Dillon Hello. It depends on what the button is doing. A button that starts a video stream... Not sure what you try to archive here. Because if the goal is to actually see the video, then HTTP post will not help you. Because the Ubot browser is completely separated from the HTTP post commands.You of course can load the HTML code you receive via http post/get via load html(#code) but that's it. If you describe your overall goal, then we might be able to help you better. CheersDan Quote Link to post Share on other sites
Dillon 0 Posted May 18, 2014 Author Report Share Posted May 18, 2014 (edited) Hello. It depends on what the button is doing. A button that starts a video stream... Not sure what you try to archive here. Because if the goal is to actually see the video, then HTTP post will not help you. Because the Ubot browser is completely separated from the HTTP post commands.You of course can load the HTML code you receive via http post/get via load html(#code) but that's it. If you describe your overall goal, then we might be able to help you better. CheersDan Appreciate the response. The goal is simply to click the button, nothing more than this. i don't need to see anything, just as long as the page and navigated too and the button clicked. I was hoping to get an understanding of this for a particular project but just also for future reference whenever needed. I'm not using the plugin, but usually when you click a button another request is sent, so you need to send that request instead of "clicking the button" (since clicking only works when you load response into browser).I do understand the logic behind it but I'm clueless with implementation of this or even where to start. Thank you for the reply nonetheless. Edited May 18, 2014 by Dillon Quote Link to post Share on other sites
Ptrick125 45 Posted May 18, 2014 Report Share Posted May 18, 2014 The HTTP post plugin pretty much makes it where you dont use the browser at all, and its possible that what you're trying to do won't be affected by the http post plugin. First off you need to see what really happens when you click that button, and there's a firefox plugin called "Live http headers" that you can use. My video explains how you can find the headers using the plugin. If in fact pressing the button sends an HTTP request, then yes, you can use the plugin to send an http post. If it doesn't send a request upon clicking the button, then you might as well make a multithreaded bot that just clicks the button in the browser. 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.