Skip to content

Commit 140ad1b

Browse files
fix: remove pre-release docs from README (microsoft#600)
1 parent 1a4bdf7 commit 140ad1b

File tree

2 files changed

+0
-38
lines changed

2 files changed

+0
-38
lines changed

README.md

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -288,39 +288,3 @@ asyncio.run(main())
288288
## Documentation
289289

290290
Check out our [new documentation site](https://playwright.dev/python/docs/intro)!
291-
292-
## Is Playwright ready?
293-
294-
Yes, Playwright for Python is ready! The latest version of Playwright for
295-
Python is 1.8.0a. We are ready to drop the Alpha bit once we hear from you.
296-
Once it is gone, we will become semver compatible and the API will be
297-
frozen in its present form for years. We will still be adding features with
298-
every release, but we promise to not break it anymore!
299-
300-
## Migration from the pre-release versions
301-
302-
The API has changed since the last 0.170.0 version:
303-
304-
- Snake case notation for methods and arguments:
305-
306-
```py
307-
# old
308-
browser.newPage()
309-
```
310-
311-
```py
312-
# new
313-
browser.new_page()
314-
```
315-
316-
- Import has changed to include sync vs async mode explicitly:
317-
```py
318-
# old
319-
from playwright import sync_playwright
320-
```
321-
```py
322-
# new
323-
from playwright.sync_api import sync_playwright
324-
```
325-
326-
That's about it! Our new [doc site](https://playwright.dev/python/docs/intro) uses proper notation and examples for the new API.

playwright/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,4 @@
1616
Python package `playwright` is a Python library to automate Chromium,
1717
Firefox and WebKit with a single API. Playwright is built to enable cross-browser
1818
web automation that is ever-green, capable, reliable and fast.
19-
For more information you'll find the documentation for the sync API [here](sync_api.html)
20-
and for the async API [here](async_api.html).
2119
"""

0 commit comments

Comments
 (0)