Auto-tools/Projects/peptest: Difference between revisions

Jump to navigation Jump to search
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 ===
Confirmed users
656

edits

Navigation menu