Confirmed users
656
edits
| Line 141: | Line 141: | ||
Returns a reference to the current window | Returns a reference to the current window | ||
* type - string representing the window type, defaults to "navigator:browser" (see https://developer.mozilla.org/en/XUL/Attribute/windowtype) | * type - string representing the window type, defaults to "navigator:browser" (see https://developer.mozilla.org/en/XUL/Attribute/windowtype) | ||
==== sleep(milliseconds) ==== | |||
Unfortunately UI Automation is very dependent on timing and sometimes it is necessary to sleep, though you should avoid this method if you can | |||
* milliseconds - the number of milliseconds to sleep for | |||
=== Logging === | === Logging === | ||