Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
Fixed small typos (#1588)
Stuart Langa007caef5cce
diff --git a/docs/api.md b/docs/api.mdindex 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):```jsdiff --git a/test/queryselector.spec.js b/test/queryselector.spec.jsindex 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, CHROMIawait page.setContent(`<div> "yo <div></div>ya</div>`);expect(await playwright.selectors._createSelector('text', await page.$('div'))).toBe('" \\"yo "');});- it('should be case sensitive iff quotes are specified', async({page}) => {+ it('should be case sensitive if quotes are specified', async({page}) => {await page.setContent(`<div>yo</div><div>ya</div><div>\nye </div>`);expect(await page.$eval(`text=yA`, e => e.outerHTML)).toBe('<div>ya</div>');expect(await page.$(`text="yA"`)).toBe(null);