Skip to content

Commit 536478b

Browse files
committed
Update getByTitle docs
1 parent cb39716 commit 536478b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ when a real user uses it.
7676
* [`getByPlaceholderText`](#getbyplaceholdertext)
7777
* [`getByText`](#getbytext)
7878
* [`getByAltText`](#getbyalttext)
79+
* [`getByTitle`](#getbytitle)
7980
* [`getByTestId`](#getbytestid)
8081
* [`wait`](#wait)
8182
* [`waitForElement`](#waitforelement)
@@ -302,7 +303,7 @@ getByTitle(
302303
}): HTMLElement
303304
```
304305

305-
This will return the element that has the matching `title` attribute.
306+
Returns the element that has the matching `title` attribute.
306307

307308
```javascript
308309
// <span title="Delete" id="2" />

0 commit comments

Comments
 (0)