2024年3月5日
摘要: 代码生成器: playwright codegen -o script.py -b chromium (-device iphone11) 移动端: from playwright.sync_api import sync_playwright with sync_playwright() as p 阅读全文
posted @ 2024-03-05 21:11 HelloJacker 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 1. 基本使用 browser.current_url browser.get_cookies() browser.page_source 2. 定位元素 from selenium.webdriver.common.by import By input_first = browser.find_e 阅读全文
posted @ 2024-03-05 09:58 HelloJacker 阅读(9) 评论(0) 推荐(0) 编辑