06 2024 档案

摘要:from playwright.sync_api import sync_playwright, expect def run(playwright): browser = playwright.chromium.launch(headless=False) context = browser.ne 阅读全文
posted @ 2024-06-26 10:55 苦逼小李 阅读(356) 评论(0) 推荐(0) 编辑
摘要:1:同步api的简单封装 from playwright.sync_api import sync_playwright class BrowserAutomation: def __init__(self, browser_type='chromium'): self.browser_type = 阅读全文
posted @ 2024-06-25 10:30 苦逼小李 阅读(165) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示