Allow Popups
From UBot Studio
(Difference between revisions)
Line 2: | Line 2: | ||
This command determines whether or not the browser should show pop ups, depending on the setting the command is set to. | This command determines whether or not the browser should show pop ups, depending on the setting the command is set to. | ||
+ | |||
+ | '''Allow CSS:''' Select "Yes" to enable popups on a webpage. Select "No" to disable popups on a webpage. | ||
== Example == | == Example == |
Revision as of 16:49, 25 April 2013
Allow Popups is a Settings Command.
This command determines whether or not the browser should show pop ups, depending on the setting the command is set to.
Allow CSS: Select "Yes" to enable popups on a webpage. Select "No" to disable popups on a webpage.
Example
allow popups("Yes") navigate("http://www.popuptest.com/popuptest3.html", "Wait")
Running the script will allow popups to appear within the browser.
allow popups("No") navigate("http://www.popuptest.com/popuptest3.html", "Wait")
Running the script will not allow popups to appear within the browser.