mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-28 09:25:50 +08:00
Add webdriver.WebDriver#touchActions
This commit is contained in:
16
selenium-webdriver/selenium-webdriver.d.ts
vendored
16
selenium-webdriver/selenium-webdriver.d.ts
vendored
@@ -3775,6 +3775,22 @@ declare module webdriver {
|
||||
*/
|
||||
actions(): ActionSequence;
|
||||
|
||||
|
||||
/**
|
||||
* Creates a new touch sequence using this driver. The sequence will not be
|
||||
* scheduled for execution until {@link webdriver.TouchSequence#perform} is
|
||||
* called. Example:
|
||||
*
|
||||
* driver.touchActions().
|
||||
* tap(element1).
|
||||
* doubleTap(element2).
|
||||
* perform();
|
||||
*
|
||||
* @return {!webdriver.TouchSequence} A new touch sequence for this instance.
|
||||
*/
|
||||
touchActions(): TouchSequence;
|
||||
|
||||
|
||||
/**
|
||||
* Schedules a command to execute JavaScript in the context of the currently
|
||||
* selected frame or window. The script fragment will be executed as the body
|
||||
|
||||
Reference in New Issue
Block a user