Method | Description | |
---|---|---|
Click ( WebElement element = null ) : |
Clicks an element.
|
|
ClickAndHold ( WebElement element = null ) : |
Holds down the left mouse button on an element.
|
|
ClickContext ( WebElement element = null ) : |
Performs a context-click (right click) on an element.
|
|
ClickDouble ( WebElement element = null ) : |
Double-clicks an element.
|
|
DragAndDrop ( WebElement elementSource, WebElement elementTarget ) : |
Holds down the left mouse button on the source element, then moves to the target element and releases the mouse button.
|
|
DragAndDropByOffset ( WebElement element, int offset_x, int offset_y ) : |
Holds down the left mouse button on the source element, then moves to the target element and releases the mouse button.
|
|
KeyDown ( string modifierKey, WebElement element = null ) : |
Sends a key press only, without releasing it. Should only be used with modifier keys (Control, Alt and Shift).
|
|
KeyUp ( string modifierKey ) : |
Releases a modifier key.
|
|
MoveByOffset ( int offset_x, int offset_y ) : |
Moving the mouse to an offset from current mouse position.
|
|
MoveToElement ( WebElement element ) : |
Moving the mouse to the middle of an element.
|
|
Perform ( ) : void |
Performs all stored Actions.
|
|
Release ( [ element = null ) : |
Releasing a held mouse button.
|
|
SendKeys ( string keys, WebElement element = null ) : |
Sends keys to an element.
|
|
Wait ( int timems ) : |
Waits the given time in millisecond.
|
Method | Description | |
---|---|---|
Actions ( RemoteSession session ) : Selenium.Core | ||
act_click ( WebElement element ) : void | ||
act_click_context ( WebElement element ) : void | ||
act_click_double ( WebElement element ) : void | ||
act_drag_drop ( WebElement elementSource, WebElement elementTarget ) : void | ||
act_drag_drop_offset ( WebElement element, int offset_x, int offset_y ) : void | ||
act_key_down ( string modifierKey, WebElement element ) : void | ||
act_mouse_click ( ) : void | ||
act_mouse_click_context ( ) : void | ||
act_mouse_click_double ( ) : void | ||
act_mouse_mouve ( WebElement element ) : void | ||
act_mouse_mouve ( int offsetX, int offsetY ) : void | ||
act_mouse_press ( WebElement element ) : void | ||
act_mouse_release ( WebElement element ) : void | ||
act_send_keys ( string keys ) : void | ||
act_send_keys ( string keys, WebElement element ) : void | ||
act_send_modifier_key ( string modifierKey ) : void |
public Click ( WebElement element = null ) : |
||
element | WebElement | The element to click. If None, clicks on current mouse position. |
return |
public ClickAndHold ( WebElement element = null ) : |
||
element | WebElement | The element to mouse down. If None, clicks on current mouse position. |
return |
public ClickContext ( WebElement element = null ) : |
||
element | WebElement | The element to context-click. If None, clicks on current mouse position. |
return |
public ClickDouble ( WebElement element = null ) : |
||
element | WebElement | The element to double-click. If None, clicks on current mouse position. |
return |
public DragAndDrop ( WebElement elementSource, WebElement elementTarget ) : |
||
elementSource | WebElement | The element to mouse down. |
elementTarget | WebElement | The element to mouse up. |
return |
public DragAndDropByOffset ( WebElement element, int offset_x, int offset_y ) : |
||
element | WebElement | The element to mouse down. |
offset_x | int | X offset to move to. |
offset_y | int | Y offset to move to. |
return |
public KeyDown ( string modifierKey, WebElement element = null ) : |
||
modifierKey | string | The modifier key to Send. Values are defined in Keys class. |
element | WebElement | The element to Send keys. If None, sends a key to current focused element. |
return |
public KeyUp ( string modifierKey ) : |
||
modifierKey | string | The modifier key to Send. Values are defined in Keys class. |
return |
public MoveByOffset ( int offset_x, int offset_y ) : |
||
offset_x | int | X offset to move to. |
offset_y | int | Y offset to move to. |
return |
public MoveToElement ( WebElement element ) : |
||
element | WebElement | The element to move to. |
return |
public SendKeys ( string keys, WebElement element = null ) : |
||
keys | string | Keys to send |
element | WebElement | Element to Send keys. If None, Send keys to the current mouse position. |
return |
public Wait ( int timems ) : |
||
timems | int | Time to wait in millisecond. |
return |