Skip to content

Commit

Permalink
Update Playwright.md
Browse files Browse the repository at this point in the history
That lead to truncate doc on website
  • Loading branch information
Horsty80 authored Jul 4, 2023
1 parent 329b15d commit fb5252c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions docs/helpers/Playwright.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,14 +414,14 @@ Calls [blur][9] on the element.
#### Parameters

- `locator` **([string][8] | [object][5])** field located by label|name|CSS|XPath|strict locator.
- `options` **any?** [Additional options][9] for available options object as 2nd argument.Examples:```js
I.blur('.text-area')
``````js
//element `#product-tile` is focused
I.see('#add-to-cart-btn');
I.blur('#product-tile')
I.dontSee('#add-to-cart-btn');
```
- `options` **any?** [Additional options][9] for available options object as 2nd argument.Examples:
```js
I.blur('.text-area')
//element `#product-tile` is focused
I.see('#add-to-cart-btn');
I.blur('#product-tile')
I.dontSee('#add-to-cart-btn');
```

### cancelPopup

Expand Down Expand Up @@ -467,16 +467,16 @@ I.clearCookie('test');

### clearField

Clear the <input>, <textarea> or [contenteditable] .
Clear the `input`, `textarea` or [contenteditable] .

#### Parameters

- `locator` **([string][8] | [object][5])** field located by label|name|CSS|XPath|strict locator.
- `options` **any?** [Additional options][11] for available options object as 2nd argument.Examples:```js
I.clearField('.text-area')
``````js
I.clearField('#submit', { force: true }) // force to bypass the [actionability](https://playwright.dev/docs/actionability) checks.
```
- `options` **any?** [Additional options][11] for available options object as 2nd argument.Examples:
```js
I.clearField('.text-area')
I.clearField('#submit', { force: true }) // force to bypass the [actionability](https://playwright.dev/docs/actionability) checks.
```

### click

Expand Down

0 comments on commit fb5252c

Please sign in to comment.