You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,11 +130,11 @@ Check out our [contributing guide](https://github.com/microsoft/playwright/blob/
130
130
131
131
## FAQ
132
132
133
-
**Q: Can I use a single API to automate different browsers?**
133
+
### Q: Can I use a single API to automate different browsers?
134
134
135
135
Yes, you can. See [Browser](https://github.com/microsoft/playwright/blob/master/docs/api.md#class-browser) in the API reference for the common set of APIs across Chromium, Firefox and WebKit. A small set of features are specific to browsers, for example see [ChromiumBrowser](https://github.com/microsoft/playwright/blob/master/docs/api.md#class-chromiumbrowser).
136
136
137
-
**Q: How does Playwright relate to [Puppeteer](https://github.com/puppeteer/puppeteer)?**
137
+
### Q: How does Playwright relate to [Puppeteer](https://github.com/puppeteer/puppeteer)?
138
138
139
139
Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the DevTools Protocol. Puppeteer project is active and is maintained by Google.
140
140
@@ -146,7 +146,7 @@ Playwright also aims at being cloud-native. Rather than a single page, `BrowserC
146
146
147
147
All the changes and improvements above would require breaking changes to the Puppeteer API, so we chose to start with a clean slate instead. Due to the similarity of the concepts and the APIs, migration between the two should be a mechanical task.
148
148
149
-
**Q: What about the [WebDriver](https://www.w3.org/TR/webdriver/)?**
149
+
### Q: What about the [WebDriver](https://www.w3.org/TR/webdriver/)?
150
150
151
151
We recognize WebDriver as a universal standard for the web automation and testing. At the same time we were excited to see Puppeteer affect the WebDriver agenda, steer it towards the bi-directional communication channel, etc. We hope that Playwright can take it further and pioneer support for numerous PWA features across the browsers as they emerge:
152
152
@@ -156,7 +156,7 @@ We recognize WebDriver as a universal standard for the web automation and testin
156
156
157
157
-[*reliability*] With Playwright, we encourage `setTimeout`-free automation. The notion of the wall time is incompatible with the operation in the cloud / CI. It is a major source of flakiness and pain and we would like to provide an alternative. With that, Playwright aims at providing sufficient amount of events based on the browser instrumentation to make it possible.
158
158
159
-
**Q: What browser versions does Playwright use?**
159
+
### Q: What browser versions does Playwright use?
160
160
161
161
-*Chromium*: Playwright uses upstream versions of Chromium. When we need changes in the browser, they go into the browser directly and then we roll our dependency to that version of Chromium. As of today, we update Chromium as needed or at least once a month. We plan to synchronize our npm release cycle with the Chromium stable channel cadence.
162
162
@@ -168,7 +168,7 @@ We recognize WebDriver as a universal standard for the web automation and testin
168
168
169
169
Similarly to WebKit, we'd like to offer all of those for review upstream, for now they can be found in the `browser_patches/firefox` folder.
170
170
171
-
**Q: Is Playwright ready?**
171
+
### Q: Is Playwright ready?
172
172
173
173
Playwright is ready for your feedback. It respects [semver](https://semver.org/), so please expect some API breakages as we release 1.0. All we can promise is that those breakages are going to be based on your feedback with the sole purpose of making our APIs better.
0 commit comments