Close Page
From UBot Studio
				
								
				(Difference between revisions)
				
																
				
				
								
				| Line 16: | Line 16: | ||
| </pre> | </pre> | ||
| + | |||
| Running the command will navigate to the url in a new browser window, wait 4 seconds and close the page. | Running the command will navigate to the url in a new browser window, wait 4 seconds and close the page. | ||
| + | |||
| [[File:closepage.png]] | [[File:closepage.png]] | ||
Revision as of 19:58, 20 May 2013
This command closes the current page within a browser.
Close Page is a Browser Command.
The command can be used in the In New Browser command to close out extra pages when tasks are complete.
Example
in new browser {
    navigate("www.bing.com", "Wait")
    wait(4)
    close page
}
Running the command will navigate to the url in a new browser window, wait 4 seconds and close the page.
