Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implements uncheckOption in WebDriverIO (#856)
* uncheckOption in WebdriverIO Adds uncheckOption. * Added uncheckOption docs * pt-BR for uncheckOption * Fixed doc
- Loading branch information
Showing
3 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Unselects a checkbox or radio button. | ||
Element is located by label or name or CSS or XPath. | ||
|
||
The second parameter is a context (CSS or XPath locator) to narrow the search. | ||
|
||
```js | ||
I.uncheckOption('#agree'); | ||
I.uncheckOption('I Agree to Terms and Conditions'); | ||
I.uncheckOption('agree', '//form'); | ||
``` | ||
@param field checkbox located by label | name | CSS | XPath | strict locator | ||
@param context (optional) element located by CSS | XPath | strict locator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters