Knowledgebase: Commands
UBot 3: Clearing Cookies and Refreshing a page
Posted by Miriam M-B on 06 April 2011 10:14 AM

To clear your cookies and refresh the page you clear the cookies on, drag in the clear cookies command from under the Action commands.

Add a delay command from under the flow commands. Place the delay command below the clear cookies command.

Go to the Action commands and drag in the run javascript command. When the parameter window pops up, type in the following javascript: 

 

location.reload();

 

Click ok to return to the script.

 

When your run the script, the script should progress in this order:

 

A. Cookies should be cleared. The page shouldn't do anything to show that.

B. There should be a delay for however many seconds your set the delay to.

C. The page should refresh. If you were logged into a page, the website will prompt you to sign in again.

 


Comments (0)
Help Desk Software by Kayako Resolve
ERROR: Domain does not match license key file domain (oldsupport.ubotstudio.com), allowed domains: support.ubotstudio.com, please change the product path to match the domain under Admin CP > Settings > General Settings
This Product will not work properly unless untill that value is changed.

For more information please contact the kayako support at https://my.kayako.com