In New Browser

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
This command is a [[Flow Commands|Flow Command]]. This command runs all contained commands inside a separate browser in a separate window.   
+
This command is a [[Browser Commands|Browser Command]]. This command runs all contained commands inside a separate browser in a separate window.   
  
 
These separate browsers will appear as small browsers to the right of the main browser in a vertical column.
 
These separate browsers will appear as small browsers to the right of the main browser in a vertical column.

Latest revision as of 14:35, 16 August 2015

This command is a Browser Command. This command runs all contained commands inside a separate browser in a separate window.

These separate browsers will appear as small browsers to the right of the main browser in a vertical column.

Each window will have its own cookies, and can be assigned its own ip.


[edit] Example 1

Each new browser window is separate and does not share cookies or IPs with the main browser.


change proxy("175.106.18.166:80")
navigate("http://www.ipchicken.com/","Wait")
in new browser {
    navigate("http://www.ipchicken.com/","Wait")
    wait(20)
}


When the script runs, and main browser's IP will be replaced by the proxy provided, and the IP address of the new browser window will remain the same as the network's IP address.


[edit] Example 2

navigate("bing.com", "Wait")
in new browser {
    navigate("http://www.google.com/", "Wait")
    type text(<name="q">, "Stina Nordenstam", "Standard")
    click(<name="btnK">, "Left Click", "No")
    pause script
}


Running the script will navigate to bing in the main browser window. A smaller window appears to the right of the main browser, navigate to google, and then searches for a keyword.


Innewbrowser.jpg


To bring the new browser into focus in the main browser, simply click the new browser window.


Innewbrowser0.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox