告诉你playwright 不使用with sync_playwright() as编写脚本的新方法
大家都知道playwright代码的标准写法是:withsync_playwright()asp:browser=p.chromium.launch(channel="chrome",headless=False)page=browser.new_page()page.goto("http://www.baidu.com")print(page.title())browser.close()wit