Skip to content

Commit e36d869

Browse files
fix: Puppeteer helper doc typo (#4369)
1 parent ca956d6 commit e36d869

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/helpers/Puppeteer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2476,7 +2476,7 @@ Returns **void** automatically synchronized promise through #recorder
24762476
24772477
[18]: https://codecept.io/helpers/FileSystem
24782478
2479-
[19]: https://pptr.dev/next/guides/request-interception
2479+
[19]: https://pptr.dev/guides/network-interception
24802480
24812481
[20]: https://github.com/GoogleChrome/puppeteer/issues/1313
24822482

lib/helper/Puppeteer.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2472,12 +2472,12 @@ class Puppeteer extends Helper {
24722472
}
24732473

24742474
/**
2475-
* Mocks network request using [`Request Interception`](https://pptr.dev/next/guides/request-interception)
2475+
* Mocks network request using [`Request Interception`](https://pptr.dev/guides/network-interception)
24762476
*
24772477
* ```js
24782478
* I.mockRoute(/(\.png$)|(\.jpg$)/, route => route.abort());
24792479
* ```
2480-
* This method allows intercepting and mocking requests & responses. [Learn more about it](https://pptr.dev/next/guides/request-interception)
2480+
* This method allows intercepting and mocking requests & responses. [Learn more about it](https://pptr.dev/guides/network-interception)
24812481
*
24822482
* @param {string|RegExp} [url] URL, regex or pattern for to match URL
24832483
* @param {function} [handler] a function to process request

0 commit comments

Comments
 (0)