File tree 2 files changed +9
-6
lines changed
2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -1376,12 +1376,16 @@ Returns **[Promise][22]<[string][9]>** title
1376
1376
1377
1377
Returns full URL of request matching parameter "urlMatch".
1378
1378
1379
+ Examples:
1380
+
1381
+ ``` js
1382
+ I .grabTrafficUrl (' https://api.example.com/session' );
1383
+ I .grabTrafficUrl (/ session. * start/ );
1384
+ ```
1385
+
1379
1386
#### Parameters
1380
1387
1381
- - ` urlMatch ` ** ([ string] [ 9 ] | [ RegExp] [ 11 ] )** Expected URL of request in network traffic. Can be a string or a regular expression.Examples:```js
1382
- I.grabTrafficUrl('https://api.example.com/session ');
1383
- I.grabTrafficUrl(/session.* start/);
1384
- ```
1388
+ - ` urlMatch ` ** ([ string] [ 9 ] | [ RegExp] [ 11 ] )** Expected URL of request in network traffic. Can be a string or a regular expression.
1385
1389
1386
1390
Returns ** [ Promise] [ 22 ] < ; any>**
1387
1391
Original file line number Diff line number Diff line change @@ -3115,15 +3115,14 @@ class Playwright extends Helper {
3115
3115
/**
3116
3116
* Returns full URL of request matching parameter "urlMatch".
3117
3117
*
3118
- * @param {string|RegExp } urlMatch Expected URL of request in network traffic. Can be a string or a regular expression.
3119
- *
3120
3118
* Examples:
3121
3119
*
3122
3120
* ```js
3123
3121
* I.grabTrafficUrl('https://api.example.com/session');
3124
3122
* I.grabTrafficUrl(/session.*start/);
3125
3123
* ```
3126
3124
*
3125
+ * @param {string|RegExp } urlMatch Expected URL of request in network traffic. Can be a string or a regular expression.
3127
3126
* @return {Promise<*> }
3128
3127
*/
3129
3128
grabTrafficUrl ( urlMatch ) {
You can’t perform that action at this time.
0 commit comments