LoWrIdErTJ - BotGuru 904 Posted February 1, 2013 Report Share Posted February 1, 2013 allow popups("In New Window") navigate("http://studentsofpakistan.com/nokia-pakistan-reaches-1-million-fans-on-facebook/", "Wait") wait for browser event("Everything Loaded", "") wait for element(<title="Add a comment...">, "", "Appear") type text(<title="Add a comment...">, "great site", "Standard") wait for element($element offset(<class="uiButtonText">, 0), "", "Appear") click($element offset(<class="uiButtonText">, 0), "Left Click", "No") wait(1) click($element offset(<class="uiIconText">, 1), "Left Click", "No") in popup { comment("DO YOUR COMMANDS FOR THE LOGIN HERE") type text(<email field>, "", "Standard") type text(<password field>, "", "Standard") change checkbox(<name="persistent">, "Checked") click(<login button>, "Left Click", "No") close page } 8 Quote Link to post Share on other sites
Aymen 385 Posted February 1, 2013 Report Share Posted February 1, 2013 thank you TJ , looking forward to apply the new pop up method on some of my projects that are on hold because of the popup thing , hopefully it works ! Quote Link to post Share on other sites
luis carlos 94 Posted February 1, 2013 Report Share Posted February 1, 2013 thanks, very clear. Quote Link to post Share on other sites
odeesuba 24 Posted February 2, 2013 Report Share Posted February 2, 2013 Thanks TJ Quote Link to post Share on other sites
beatngu 65 Posted February 3, 2013 Report Share Posted February 3, 2013 Thanks a million TJ !!After waiting for over 1 year i finaly can get around the popups. Quote Link to post Share on other sites
cybernoob 1 Posted February 21, 2013 Report Share Posted February 21, 2013 OMFG I FINIALLY FOUND THE ANSWER. THANKYOU Quote Link to post Share on other sites
Veracruz32 0 Posted May 5, 2013 Report Share Posted May 5, 2013 (edited) Hi TJ I am quite new here and this is my first post... I have read everything I could find on popups and opening windows but I can't make my bot works... I followed your example for "StudentsOfPakistan.com" but I cannot make it works inside an Amazon account. Would you please help me ? the little windows on the left of the main windows do not open like in your example... I have also tried set dialog text, set active windows but with no success. Could I private message you with the url and the login details ? I would really appreciate your help Thank you Edited May 5, 2013 by Veracruz32 Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted May 23, 2013 Report Share Posted May 23, 2013 Is this possible with threading? Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted May 23, 2013 Author Report Share Posted May 23, 2013 in multi threading the same proceedure gets used, however it wont open a new side bar area, instead it takes over the position of the in new browser area being used. Quote Link to post Share on other sites
Enigma 78 Posted October 23, 2013 Report Share Posted October 23, 2013 Anyone knows a way to kinda "focus" on the new window?I used "in popup" because login details are being set in the new page which seems can't navigate to directly (can probably be done with HTTP Post, which i'm investigate).What i want is that as soon as the popup opens in the new window, i have set the current page to "close page".That doesn't work, as it only sets the browser to a blank window while the popup is still in the new window in the small sidebar I would say that if the current page is closed via close page, it automatically should show load the content from "in popup" in the main browser.Thus not in the small sidebar window. Yes you can click the sidebar manually in the bot to focus on the sidebar and make it visible in the main browser (full screen) but this is far from ideal for me. 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.