diff --git a/docs/api.md b/docs/api.md index 8d04da6928..ad48ceb914 100644 --- a/docs/api.md +++ b/docs/api.md @@ -3216,7 +3216,7 @@ console.log(response.request().redirectedFrom()); // null ``` #### request.redirectedTo() -- returns: [Request]> New request issued by the browser iff the server responded with redirect. +- returns: [Request]> New request issued by the browser if the server responded with redirect. This method is the opposite of [request.redirectedFrom()](#requestredirectedfrom): ```js diff --git a/test/queryselector.spec.js b/test/queryselector.spec.js index 6284558673..9dc4732e4f 100644 --- a/test/queryselector.spec.js +++ b/test/queryselector.spec.js @@ -528,7 +528,7 @@ module.exports.describe = function({testRunner, expect, playwright, FFOX, CHROMI await page.setContent(`