org.sikuli.api
Class API

java.lang.Object
  extended by org.sikuli.api.API

public class API
extends Object

API class that defines a set of methods that perform common operations in the API.


Constructor Summary
API()
           
 
Method Summary
static void browse(URL url)
          Launches the default browser to open a URL.
static void pause(int mills)
          Causes the currently executing thread to pause (sleep) for the specified number of milliseconds.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

API

public API()
Method Detail

pause

public static void pause(int mills)
Causes the currently executing thread to pause (sleep) for the specified number of milliseconds.

Parameters:
mills - the length of time to sleep in milliseconds.

browse

public static void browse(URL url)
Launches the default browser to open a URL.

Parameters:
url - the URL to be displayed in the user default browser.


Copyright © 2014. All rights reserved.