docs: fix Python snippet casing (#5244)

This commit is contained in:
Pavel Feldman 2021-02-01 11:44:39 -08:00 committed by GitHub
parent 1db5ef24a8
commit 174b6aa2da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ Terminates this instance of Playwright in case it was created bypassing the Pyth
>>> playwright = sync_playwright().start()
>>> browser = playwright.chromium.launch()
>>> page = browser.newPage()
>>> page = browser.new_page()
>>> page.goto("http://whatsmyuseragent.org/")
>>> page.screenshot(path="example.png")
>>> browser.close()