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
docs: fixed various typos (#2633)
Max Schmitt20b23cd21edd
diff --git a/docs/actionability.md b/docs/actionability.mdindex de40e765c6..ae5f45c946 100644--- a/docs/actionability.md+++ b/docs/actionability.md@@ -17,13 +17,13 @@ Some actions like `page.click()` support `{force: true}` option that disable non† [Attached] check is only performed during selector-based actions.-### Visibile+### VisibleElement is considered visible when it has non-empty bounding box and does not have `visibility:hidden` computed style. Note that elements of zero size or with `display:none` are not considered visible.### Stable-Element is considered stable when it has maintanined the same bounding box for at least two consecutive animation frames.+Element is considered stable when it has maintained the same bounding box for at least two consecutive animation frames.### Enableddiff --git a/docs/api.md b/docs/api.mdindex 2dbce28d19..e6875f4d29 100644--- a/docs/api.md+++ b/docs/api.md@@ -593,7 +593,7 @@ The extra HTTP headers will be sent with every request initiated by any page in- `accuracy` <[number]> Non-negative accuracy value. Defaults to `0`.- returns: <[Promise]>-Sets the contexts's geolocation. Passing `null` or `undefined` emulates position unavailable.+Sets the context's geolocation. Passing `null` or `undefined` emulates position unavailable.```jsawait browserContext.setGeolocation({latitude: 59.95, longitude: 30.31667});@@ -4216,7 +4216,7 @@ Coverage gathers information about parts of JavaScript and CSS that were used byAn example of using JavaScript coverage to produce Istambul report for page load:```js-const { chromium } = require('.');+const { chromium } = require('playwright');const v8toIstanbul = require('v8-to-istanbul');(async() => {diff --git a/docs/input.md b/docs/input.mdindex 586a97ceca..7a4d3797c8 100644--- a/docs/input.md+++ b/docs/input.md@@ -162,7 +162,7 @@ await page.dispatchEvent('button#submit', 'click');Type into the field character by character, as if it was a user with a real keyboard.```js-// Type characted by character+// Type character by characterawait page.type('#area', 'Hello World!');```@@ -215,7 +215,7 @@ await page.press('#name', 'Shift+A');await page.press('#name', 'Shift+ArrowLeft');```-Shortcuts such as `"Control+o"` or `"Control+Shift+T"` are supported as well. When speficied with the modifier, modifier is pressed and being held while the subsequent key is being pressed.+Shortcuts such as `"Control+o"` or `"Control+Shift+T"` are supported as well. When specified with the modifier, modifier is pressed and being held while the subsequent key is being pressed.Note that you still need to specify the capital `A` in `Shift-A` to produce the capital character. `Shift-a` produces a lower-case one as if you had the `CapsLock` toggled.diff --git a/docs/troubleshooting.md b/docs/troubleshooting.mdindex 529d84afff..0e727d274a 100644--- a/docs/troubleshooting.md+++ b/docs/troubleshooting.md@@ -33,7 +33,7 @@ const browser = await playwright.chromium.launch({});```-> Context: [Puppetteer#3681](https://github.com/puppeteer/puppeteer/issues/3681#issuecomment-447865342).+> Context: [Puppeteer#3681](https://github.com/puppeteer/puppeteer/issues/3681#issuecomment-447865342).### Chrome headless doesn't launch on Linux/WSL