@types/selenium-webdriver
Advanced tools
Comparing version 4.1.2 to 4.1.3
@@ -203,67 +203,2 @@ import { ILocation, WebDriver, WebElement } from '../'; | ||
/** | ||
* Moves the mouse. The location to move to may be specified in terms of the | ||
* mouse's current location, an offset relative to the top-left corner of an | ||
* element, or an element (in which case the middle of the element is used). | ||
* | ||
* @param {(!./WebElement|{x: number, y: number})} location The | ||
* location to drag to, as either another WebElement or an offset in | ||
* pixels. | ||
* @param {{x: number, y: number}=} opt_offset If the target {@code location} | ||
* is defined as a {@link ./WebElement}, this parameter defines | ||
* an offset within that element. The offset should be specified in pixels | ||
* relative to the top-left corner of the element's bounding box. If | ||
* omitted, the element's center will be used as the target offset. | ||
* @return {!Actions} A self reference. | ||
*/ | ||
mouseMove(location: WebElement | ILocation, opt_offset?: ILocation): Actions; | ||
/** | ||
* Presses a mouse button. The mouse button will not be released until | ||
* {@link #mouseUp} is called, regardless of whether that call is made in this | ||
* sequence or another. The behavior for out-of-order events (e.g. mouseDown, | ||
* click) is undefined. | ||
* | ||
* If an element is provided, the mouse will first be moved to the center | ||
* of that element. This is equivalent to: | ||
* | ||
* sequence.mouseMove(element).mouseDown() | ||
* | ||
* Warning: this method currently only supports the left mouse button. See | ||
* [issue 4047](http://code.google.com/p/selenium/issues/detail?id=4047). | ||
* | ||
* @param {(./WebElement|input.Button)=} opt_elementOrButton Either | ||
* the element to interact with or the button to click with. | ||
* Defaults to {@link input.Button.LEFT} if neither an element nor | ||
* button is specified. | ||
* @param {input.Button=} opt_button The button to use. Defaults to | ||
* {@link input.Button.LEFT}. Ignored if a button is provided as the | ||
* first argument. | ||
* @return {!Actions} A self reference. | ||
*/ | ||
mouseDown(opt_elementOrButton?: WebElement | string, opt_button?: string): Actions; | ||
/** | ||
* Releases a mouse button. Behavior is undefined for calling this function | ||
* without a previous call to {@link #mouseDown}. | ||
* | ||
* If an element is provided, the mouse will first be moved to the center | ||
* of that element. This is equivalent to: | ||
* | ||
* sequence.mouseMove(element).mouseUp() | ||
* | ||
* Warning: this method currently only supports the left mouse button. See | ||
* [issue 4047](http://code.google.com/p/selenium/issues/detail?id=4047). | ||
* | ||
* @param {(./WebElement|input.Button)=} opt_elementOrButton Either | ||
* the element to interact with or the button to click with. | ||
* Defaults to {@link input.Button.LEFT} if neither an element nor | ||
* button is specified. | ||
* @param {input.Button=} opt_button The button to use. Defaults to | ||
* {@link input.Button.LEFT}. Ignored if a button is provided as the | ||
* first argument. | ||
* @return {!Actions} A self reference. | ||
*/ | ||
mouseUp(opt_elementOrButton?: WebElement | string, opt_button?: string): Actions; | ||
/** | ||
* Convenience function for performing a 'drag and drop' manuever. The target | ||
@@ -270,0 +205,0 @@ * element may be moved to the location of another element, or by an offset (in |
{ | ||
"name": "@types/selenium-webdriver", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "TypeScript definitions for Selenium WebDriverJS", | ||
@@ -75,4 +75,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/selenium-webdriver", | ||
}, | ||
"typesPublisherContentHash": "3ca3f55893e9374a27a49745f4a8c02b0ba93d4c912c7577d4bd7ba0da457924", | ||
"typesPublisherContentHash": "ece83aaa0d5041813d8855f84738a557fbc2e41fd522d38f5955645aa4371d91", | ||
"typeScriptVersion": "4.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 25 Jul 2022 00:32:18 GMT | ||
* Last updated: Mon, 29 Aug 2022 23:32:44 GMT | ||
* Dependencies: [@types/ws](https://npmjs.com/package/@types/ws) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
226727
5859