hanapco 0 Posted July 23, 2012 Report Share Posted July 23, 2012 I'm trying to create a bot for http://socialmediaexplode.com but when i try to open a popup window in ubot, it doesn't display correctly. It works ok in firefox/chrome/ie. Below is my code. Thank you. ui text box("username", #username) ui text box("password", #password) navigate("http://socialmediaexplode.com/xchange.php?p=fb2", "Wait") if($exists(<username field>)) { then { type text(<username field>, #username, "Standard") type text(<password field>, #password, "Standard") click($element offset(<login button>, 0), "Left Click", "No") } else { } } wait for browser event("Everything Loaded", "") if($exists($element offset(<tagname="font">, 0))) { then { click(<href="/xchange.php?p=fb2">, "Left Click", "No") } else { alert("where ") } } if($exists(<outerhtml=w"<div class=\"contentinside\">* Step 1. Click \"Go To Page\"*</div>">)) { then { alert("here!") click(<onclick="facebookopen('http://www.facebook.com/johnolivephotographer/###','39444');">, "Left Click", "No") } else { } } Quote Link to post Share on other sites
nimbystripes 0 Posted July 23, 2012 Report Share Posted July 23, 2012 What type of browser you used where you get this type of problem? Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted July 23, 2012 Report Share Posted July 23, 2012 very top of your code change useragent to safari then login to facebook first, then go to the site you want to like or whatever the case may be. it will come up no problem with the account your logged into already from the browser session Quote Link to post Share on other sites
hanapco 0 Posted July 23, 2012 Author Report Share Posted July 23, 2012 Thanks, that did it. 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.