Skip to content

Commit

Permalink
Fixed bad grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored Sep 8, 2023
1 parent defd0f6 commit e66cb28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -790,9 +790,9 @@ $page->navigate('http://example.com')->waitForNavigation();
$page->waitUntilContainsElement('div[data-name=\"el\"]');
```

If a string is passed to `Page::waitUntilContainsElement`,
an instance of CSSSelector is created by default in called internal `Page::waitForElement`.
To use other selectors, you can pass an instance of the required `Selector` instead of a string.
If a string is passed to `Page::waitUntilContainsElement`, an instance of
`CSSSelector` is created for you by `Page::waitForElement`. To use other
selectors, you can pass an instance of the required `Selector`.

Wait for element by XPath selector:

Expand Down

0 comments on commit e66cb28

Please sign in to comment.