Reset Browser
From UBot Studio
(Difference between revisions)
(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...") |
(→Example) |
||
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. | ||
− | + | The browser is restarted. New cookies are set within the browser. |
Revision as of 18:24, 7 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.
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.