Jump to content
UBot Underground

Recommended Posts

Hello everyone! ... I need something that was supposed to be simple. I have two web pages to run simultaneously, the first one I run with the command "navigate" this page is my load the page. while it is running, the second page is executing my script in "thread" -> "in browser share", however when this second page end to run, I would like her to take forward the browser. User without the need to click in the window that opens on the right side as we run the command "shared in browser". already I tried everything here with my knowledge ...

 

hey staff of UBot was just having a command like "focus browser" and already solved all

Link to post
Share on other sites

Try.

navigate("https://www.google.com","Wait")
set(#TranslateText,"","Global")
thread {
    in new browser {
        navigate("https://translate.google.com","Wait")
        wait for browser event("Everything Loaded","")
        wait(1)
        type text(<name="text">,"good","Standard")
        wait(1)
        click($element offset(<innertext="Spanish">,1),"Left Click","No")
        wait(1)
        set(#TranslateText,$scrape attribute(<id="result_box">,"innertext"),"Global")
    }
}
loop while($comparison(#TranslateText,"= Equals","")) {
    wait(1)
}
type text(<name="q">,#TranslateText,"Standard")
click(<name="btnG">,"Left Click","No")
Link to post
Share on other sites

Maybe what Emanu2000 means is to bring the shared/new browser (small thumbnails on right side) to the front / as main browser so the client can see it.

CMIIW

Link to post
Share on other sites
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...