就像Chrome这种
with open('a.js') as f: js = f.read() # 浏览器加载那个js文件 browser.execute_cdp_cmd("Page.addScriptToEvaluateOnNewDocument", { "source": js })
1.4m articles
1.4m replys
5 comments
57.0k users