Save Browser Image

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
 
Line 9: Line 9:
 
<pre>
 
<pre>
 
navigate("http://www.google.com/", "Wait")
 
navigate("http://www.google.com/", "Wait")
save browser image("C:\\Users\\UBook\\Documents\\browsermage.jpg")
+
save browser image("C:\\Users\\UBook\\Documents\\browserimage.jpg")
  
 
</pre>
 
</pre>

Latest revision as of 13:25, 19 March 2015

This command will take a screenshot of your current webpage and save it to a chosen location on your computer.

Save Browser Image is a Browser Command.

File To Save To: Refers to the location to save the file to, as well as the file name with a file extension (jpg, png, etc)

[edit] Example

navigate("http://www.google.com/", "Wait")
save browser image("C:\\Users\\UBook\\Documents\\browserimage.jpg")


Running the script will navigate to the url and take a screenshot of the webpage, saving it to the location chosen with the browser button on the command.


Savebrowserimage.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox