Save Browser Image

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Example)
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 
This command will take a screenshot of your current webpage and save it to a chosen location on your computer.  
 
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 Commands|Browser Command]].
 
Save Browser Image is a [[Browser Commands|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)
  
 
== Example ==
 
== Example ==
Line 6: 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>
 +
  
 
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.
 
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.
  
[[File:savebrowserimage.png]]
+
 
 +
[[File:savebrowserimage.jpg]]

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