Jump to content
UBot Underground

Run two tabs at once


Recommended Posts

I'm trying to figure out how I can have two tabs in the browser work at once and together. I want to use http://www.fakemailgenerator.com to get email from, however if you click it and check it out the way it works is it pre-loads an email account each refresh. I need to somehow get a new email each refresh and also get this email onto another tab (copy & paste). Then once i make the account using this email I need to be able to verify the account by clicking a link in the email. How could I do this?

Link to post
Share on other sites

If I understand the answer you should put your 2nd tab code into a define command with parameters (where one parameter is is the email you copy paste) and execute that one from 1st tab, inside "in new browser" node. If you want to run multiple define commands at the same time you should surround "in new browser" container with "thread" container.

 

I hope the example bellow will help you to understand the concepts:

comment("1st tab code")
set(#EMAIL, "{$scrape attribute(<id="fName">, "value")}{$scrape attribute(<class="center">, "innertext")}", "Global")
THREAD START(#EMAIL)
define THREAD START(#EMAIL) {
    thread {
        in new browser {
            TAB TWO(#EMAIL)
        }
    }
}
define TAB TWO(#EMAIL) {
    comment("code from 2nd tab here, bellow is an example")
    navigate("http://www.google.com/", "Wait")
    wait for element(<name="q">, "", "Appear")
    type text(<name="q">, #EMAIL, "Standard")
    pause script
}

To test the code above navigate to page in question and start this code.

Link to post
Share on other sites

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...