Skip to content

Commit bfd1ec6

Browse files
Update params.md: fix "it's" typos (#39180)
1 parent 67075d7 commit bfd1ec6

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

docs/src/api/params.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1459,7 +1459,7 @@ Consider the following DOM structure.
14591459
<button data-testid="directions">Itinéraire</button>
14601460
```
14611461

1462-
You can locate the element by it's test id:
1462+
You can locate the element by its test id:
14631463

14641464
```js
14651465
await page.getByTestId('directions').click();
@@ -1731,7 +1731,7 @@ Consider the following DOM structure.
17311731
<button>Submit</button>
17321732
```
17331733

1734-
You can locate each element by it's implicit role:
1734+
You can locate each element by its implicit role:
17351735

17361736
```js
17371737
await expect(page.getByRole('heading', { name: 'Sign up' })).toBeVisible();

packages/playwright-client/types/types.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3003,7 +3003,7 @@ export interface Page {
30033003
* <button>Submit</button>
30043004
* ```
30053005
*
3006-
* You can locate each element by it's implicit role:
3006+
* You can locate each element by its implicit role:
30073007
*
30083008
* ```js
30093009
* await expect(page.getByRole('heading', { name: 'Sign up' })).toBeVisible();
@@ -3108,7 +3108,7 @@ export interface Page {
31083108
* <button data-testid="directions">Itinéraire</button>
31093109
* ```
31103110
*
3111-
* You can locate the element by it's test id:
3111+
* You can locate the element by its test id:
31123112
*
31133113
* ```js
31143114
* await page.getByTestId('directions').click();
@@ -7022,7 +7022,7 @@ export interface Frame {
70227022
* <button>Submit</button>
70237023
* ```
70247024
*
7025-
* You can locate each element by it's implicit role:
7025+
* You can locate each element by its implicit role:
70267026
*
70277027
* ```js
70287028
* await expect(page.getByRole('heading', { name: 'Sign up' })).toBeVisible();
@@ -7127,7 +7127,7 @@ export interface Frame {
71277127
* <button data-testid="directions">Itinéraire</button>
71287128
* ```
71297129
*
7130-
* You can locate the element by it's test id:
7130+
* You can locate the element by its test id:
71317131
*
71327132
* ```js
71337133
* await page.getByTestId('directions').click();
@@ -13837,7 +13837,7 @@ export interface Locator {
1383713837
* <button>Submit</button>
1383813838
* ```
1383913839
*
13840-
* You can locate each element by it's implicit role:
13840+
* You can locate each element by its implicit role:
1384113841
*
1384213842
* ```js
1384313843
* await expect(page.getByRole('heading', { name: 'Sign up' })).toBeVisible();
@@ -13942,7 +13942,7 @@ export interface Locator {
1394213942
* <button data-testid="directions">Itinéraire</button>
1394313943
* ```
1394413944
*
13945-
* You can locate the element by it's test id:
13945+
* You can locate the element by its test id:
1394613946
*
1394713947
* ```js
1394813948
* await page.getByTestId('directions').click();
@@ -20066,7 +20066,7 @@ export interface FrameLocator {
2006620066
* <button>Submit</button>
2006720067
* ```
2006820068
*
20069-
* You can locate each element by it's implicit role:
20069+
* You can locate each element by its implicit role:
2007020070
*
2007120071
* ```js
2007220072
* await expect(page.getByRole('heading', { name: 'Sign up' })).toBeVisible();
@@ -20172,7 +20172,7 @@ export interface FrameLocator {
2017220172
* <button data-testid="directions">Itinéraire</button>
2017320173
* ```
2017420174
*
20175-
* You can locate the element by it's test id:
20175+
* You can locate the element by its test id:
2017620176
*
2017720177
* ```js
2017820178
* await page.getByTestId('directions').click();

packages/playwright-core/types/types.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3003,7 +3003,7 @@ export interface Page {
30033003
* <button>Submit</button>
30043004
* ```
30053005
*
3006-
* You can locate each element by it's implicit role:
3006+
* You can locate each element by its implicit role:
30073007
*
30083008
* ```js
30093009
* await expect(page.getByRole('heading', { name: 'Sign up' })).toBeVisible();
@@ -3108,7 +3108,7 @@ export interface Page {
31083108
* <button data-testid="directions">Itinéraire</button>
31093109
* ```
31103110
*
3111-
* You can locate the element by it's test id:
3111+
* You can locate the element by its test id:
31123112
*
31133113
* ```js
31143114
* await page.getByTestId('directions').click();
@@ -7022,7 +7022,7 @@ export interface Frame {
70227022
* <button>Submit</button>
70237023
* ```
70247024
*
7025-
* You can locate each element by it's implicit role:
7025+
* You can locate each element by its implicit role:
70267026
*
70277027
* ```js
70287028
* await expect(page.getByRole('heading', { name: 'Sign up' })).toBeVisible();
@@ -7127,7 +7127,7 @@ export interface Frame {
71277127
* <button data-testid="directions">Itinéraire</button>
71287128
* ```
71297129
*
7130-
* You can locate the element by it's test id:
7130+
* You can locate the element by its test id:
71317131
*
71327132
* ```js
71337133
* await page.getByTestId('directions').click();
@@ -13837,7 +13837,7 @@ export interface Locator {
1383713837
* <button>Submit</button>
1383813838
* ```
1383913839
*
13840-
* You can locate each element by it's implicit role:
13840+
* You can locate each element by its implicit role:
1384113841
*
1384213842
* ```js
1384313843
* await expect(page.getByRole('heading', { name: 'Sign up' })).toBeVisible();
@@ -13942,7 +13942,7 @@ export interface Locator {
1394213942
* <button data-testid="directions">Itinéraire</button>
1394313943
* ```
1394413944
*
13945-
* You can locate the element by it's test id:
13945+
* You can locate the element by its test id:
1394613946
*
1394713947
* ```js
1394813948
* await page.getByTestId('directions').click();
@@ -20066,7 +20066,7 @@ export interface FrameLocator {
2006620066
* <button>Submit</button>
2006720067
* ```
2006820068
*
20069-
* You can locate each element by it's implicit role:
20069+
* You can locate each element by its implicit role:
2007020070
*
2007120071
* ```js
2007220072
* await expect(page.getByRole('heading', { name: 'Sign up' })).toBeVisible();
@@ -20172,7 +20172,7 @@ export interface FrameLocator {
2017220172
* <button data-testid="directions">Itinéraire</button>
2017320173
* ```
2017420174
*
20175-
* You can locate the element by it's test id:
20175+
* You can locate the element by its test id:
2017620176
*
2017720177
* ```js
2017820178
* await page.getByTestId('directions').click();

0 commit comments

Comments
 (0)