Package com.github.loyada.jdollarx
Class Operations.KeysDown
- java.lang.Object
-
- com.github.loyada.jdollarx.Operations.KeysDown
-
- Enclosing class:
- Operations
public static class Operations.KeysDown extends Object
internal implementation not be instantiated directly - Action of key-down
-
-
Constructor Summary
Constructors Constructor Description KeysDown(org.openqa.selenium.WebDriver driver, CharSequence keysToSend)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
inBrowser()
Send key-down to the browser in generalvoid
on(Path path)
Send key-down to an element in the browser
-
-
-
Constructor Detail
-
KeysDown
public KeysDown(org.openqa.selenium.WebDriver driver, CharSequence keysToSend)
-
-
Method Detail
-
inBrowser
public void inBrowser()
Send key-down to the browser in general
-
on
public void on(Path path) throws Operations.OperationFailedException
Send key-down to an element in the browser- Parameters:
path
- the element to press a key down on- Throws:
Operations.OperationFailedException
- operation failed. Typically includes the reason.
-
-