public static class WDLibrary.RBT
extends java.lang.Object
Constructor and Description |
---|
RBT() |
Modifier and Type | Method and Description |
---|---|
protected static void |
click(java.awt.Point location,
org.openqa.selenium.Keys specialKey,
int mouseButtonNumber,
int nclicks)
Use Robot to click locally or remotely (through RMI).
|
static void |
click(RemoteDriver rd,
java.awt.Point location,
org.openqa.selenium.Keys specialKey,
int mouseButtonNumber,
int nclicks)
Use Robot to click locally or remotely (through RMI).
|
protected static void click(java.awt.Point location, org.openqa.selenium.Keys specialKey, int mouseButtonNumber, int nclicks) throws java.lang.Exception
location
- Point, The screen location to click at.specialKey
- Keys, The selenium Keys value, representing the key (such as Ctrl, Alt) pressed during mouse click.mouseButtonNumber
- int, Representing the mouse button to click, such as WDLibrary.MOUSE_BUTTON_LEFT
.nclicks
- int, How many times to click mouse.java.lang.Exception
public static void click(RemoteDriver rd, java.awt.Point location, org.openqa.selenium.Keys specialKey, int mouseButtonNumber, int nclicks) throws java.lang.Exception
rd
- RemoteDriver, The Remote Driver with an RMI agent.location
- Point, The screen location to click at.specialKey
- Keys, The selenium Keys value, representing the key (such as Ctrl, Alt) pressed during mouse click.mouseButtonNumber
- int, Representing the mouse button to click, such as WDLibrary.MOUSE_BUTTON_LEFT
.nclicks
- int, How many times to click mouse.java.lang.Exception
Copyright © SAS Institute. All Rights Reserved.