Skip to content

Commit

Permalink
docs: fix Python snippet casing (#5244)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelfeldman committed Feb 1, 2021
1 parent 1db5ef2 commit 174b6aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/api/python.md
Expand Up @@ -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()
Expand Down

0 comments on commit 174b6aa

Please sign in to comment.