musician87 2 Posted May 24, 2015 Report Share Posted May 24, 2015 What I'm looking for is something where I can click on an element (for example an image) and it'll open in a new window (not browser) so that I can make my stuff without touching the "main" website. Something like: left click, target _blank Can I do it? Thanks a lot! Quote Link to post Share on other sites
Asentrix 17 Posted May 24, 2015 Report Share Posted May 24, 2015 You could scrape the element ID (with a wildcard if needed) then use cmd shell to open the image in chrome etc?Or you could just use load html through a popup possibly? Quote Link to post Share on other sites
musician87 2 Posted May 24, 2015 Author Report Share Posted May 24, 2015 I still need to be opened in ubot, since I need to automatize it. Actually I want that it open as new window (so ubot should open it as popup, if I'm not wrong). Quote Link to post Share on other sites
HelloInsomnia 1103 Posted May 24, 2015 Report Share Posted May 24, 2015 You can scrape it out like Asentrix said and then use the in new browser command, here is an example: navigate("http://ubotsandbox.com/", "Wait") wait(2) set(#checkboxes_url, $scrape attribute(<href="checkboxes.php">, "fullhref"), "Global") in new browser { navigate(#checkboxes_url, "Wait") wait(10) } Quote Link to post Share on other sites
musician87 2 Posted May 24, 2015 Author Report Share Posted May 24, 2015 You can scrape it out like Asentrix said and then use the in new browser command, here is an example: navigate("http://ubotsandbox.com/", "Wait") wait(2) set(#checkboxes_url, $scrape attribute(<href="checkboxes.php">, "fullhref"), "Global") in new browser { navigate(#checkboxes_url, "Wait") wait(10) } and this will keep login info? Since what I'm trying to automate requires login, if I click and then open in a new browser, it'll keep me logged? Quote Link to post Share on other sites
HelloInsomnia 1103 Posted May 24, 2015 Report Share Posted May 24, 2015 and this will keep login info? Since what I'm trying to automate requires login, if I click and then open in a new browser, it'll keep me logged? I don't think so, try in shared browser I think that would keep you logged in. Quote Link to post Share on other sites
musician87 2 Posted May 24, 2015 Author Report Share Posted May 24, 2015 I don't think so, try in shared browser I think that would keep you logged in.Uhm ok, I'll try to get it... Quote Link to post Share on other sites
musician87 2 Posted May 25, 2015 Author Report Share Posted May 25, 2015 Strange thing, when I open in a new window, after the page is loaded it autoclose. I'll investigate on it... PS: To avoid browser freeze I should insert random user agent and then something also? Quote Link to post Share on other sites
Bot-Factory 602 Posted May 25, 2015 Report Share Posted May 25, 2015 Strange thing, when I open in a new window, after the page is loaded it autoclose. I'll investigate on it... PS: To avoid browser freeze I should insert random user agent and then something also? That's the normal behavior in a new browser window. If there are no additional commands going on, the browser will close.You can add a wait command at the end to keep it open for a while. Or a loop while. And check a variable. And then have a button to set that variable to a value that will exit the loop while. That way you can close all the new browser windows with a button. Dan 1 Quote Link to post Share on other sites
musician87 2 Posted June 2, 2015 Author Report Share Posted June 2, 2015 heard about "shared browser" but cannot find it on V4, maybe is a V5 feature? Quote Link to post Share on other sites
HelloInsomnia 1103 Posted June 2, 2015 Report Share Posted June 2, 2015 heard about "shared browser" but cannot find it on V4, maybe is a V5 feature? It's in V4, it's under the flow commands or you can just type it into the search toolbox (ctrl + e to search) Quote Link to post Share on other sites
musician87 2 Posted June 3, 2015 Author Report Share Posted June 3, 2015 It's in V4, it's under the flow commands or you can just type it into the search toolbox (ctrl + e to search)http://i.imgur.com/EuNjWNJ.png nope :\ Quote Link to post Share on other sites
HelloInsomnia 1103 Posted June 3, 2015 Report Share Posted June 3, 2015 http://i.imgur.com/EuNjWNJ.png nope :\ I have it with no plugins enabled so it must be a pro or dev feature :/ Quote Link to post Share on other sites
musician87 2 Posted June 4, 2015 Author Report Share Posted June 4, 2015 Damnnnnnnnnnn 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.