Reset Browser

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with " This command is part of the Browser Command in Chrome 39. The command restarts the browser process. This will clear cookies, user agents and any other...")
 
 
(One intermediate revision by one user not shown)
Line 3: Line 3:
 
This command is part of the [[Browser Commands|Browser Command]] in Chrome 39. The command restarts the browser process.
 
This command is part of the [[Browser Commands|Browser Command]] in Chrome 39. The command restarts the browser process.
  
This will clear cookies, user agents and any other settings in the browser.
+
This will clear cookies, user agents and any other settings in the browser.
  
  
Line 27: Line 27:
 
The example above focuses on the creation and clearing of cookies as a result of resetting the browser. The example cookies on the webpage are set with the click of a button.
 
The example above focuses on the creation and clearing of cookies as a result of resetting the browser. The example cookies on the webpage are set with the click of a button.
  
Once the browser is reset, a new browser process is started. New cookies are set within the browser.
+
The browser is restarted. New cookies are set within the browser.

Latest revision as of 21:49, 10 February 2016


This command is part of the Browser Command in Chrome 39. The command restarts the browser process.

This will clear cookies, user agents and any other settings in the browser.


[edit] Example

navigate("http://www.w3schools.com/js/js_cookies.asp","Wait")
wait(2)
click(<innertext="Create Cookie 1">,"Left Click","No")
click(<innertext="Create Cookie 2">,"Left Click","No")
wait(2)
alert($get all cookies)
reset browser
wait for browser event("Everything Loaded","")
alert($get all cookies)



The example above focuses on the creation and clearing of cookies as a result of resetting the browser. The example cookies on the webpage are set with the click of a button.

The browser is restarted. New cookies are set within the browser.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox