from playwright.sync_api import Playwright, sync_playwright def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) context = browser.new_context() # Open new page page = context.new_page() # Go to https://www.google.com/?gws_rd=ssl page.goto("https://www.google.com/?gws_rd=ssl") # Go to https://www.google.com/search?q=Playwright+Python&oq=Playwright+Python&aq