Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from bs4 import BeautifulSoup
- from playwright.sync_api import sync_playwright
- with sync_playwright() as p:
- # launch the browser instance and define a new context
- browser = p.chromium.launch()
- context = browser.new_context()
Advertisement
Add Comment
Please, Sign In to add comment