Skip to content

Commit

Permalink
Update context-and-timeout.md (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-field authored Jul 22, 2024
1 parent 80e0043 commit e3d4a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion context-and-timeout.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pageWithCancel.MustNavigate("http://github.com")
pageWithCancel.MustElement("body")
```

We use the `page.Context` to create a shallow clone of the `page`. Whenever we call the `cancel`, the all sub operations
We use the `page.Context` to create a shallow clone of the `page`. Whenever we call the `cancel`, all the sub operations
triggered by the `pageWithCancel` will be canceled, it can be any operation, not just `MustNavigate`.
The origin `page` won't be affected, if we use it to call operations they won't be cancelled.

Expand Down

0 comments on commit e3d4a72

Please sign in to comment.