上一页 1 2 3 4 5 6 ··· 24 下一页
该文被密码保护。 阅读全文
posted @ 2024-04-28 17:08 NiceTwocu 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2024-04-28 16:31 NiceTwocu 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2024-04-28 16:13 NiceTwocu 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2024-04-28 15:57 NiceTwocu 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2024-04-16 00:45 NiceTwocu 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2024-04-15 22:58 NiceTwocu 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2024-04-09 23:31 NiceTwocu 阅读(1) 评论(0) 推荐(0) 编辑
摘要: from playwright.sync_api import sync_playwright #封装一个方法用于切换浏览器窗口页面 def switch_to_page(context,url): for page in context.pages: if url == page.url:#如果传 阅读全文
posted @ 2024-04-09 22:35 NiceTwocu 阅读(84) 评论(0) 推荐(0) 编辑
摘要: #同步模式 from playwright.sync_api import sync_playwright #导入同步模块 #创建一个Playwright的管理器对象 with sync_playwright() as p: #等同于p=sync_playwright() #基于p创建一个浏览器对象 阅读全文
posted @ 2024-04-08 23:09 NiceTwocu 阅读(54) 评论(0) 推荐(0) 编辑
摘要: #异步模式 import asyncio from playwright.async_api import async_playwright #导入异步模块 async def main():#封装一个特殊函数 # 创建一个Playwright的管理器对象 async with async_play 阅读全文
posted @ 2024-04-08 22:36 NiceTwocu 阅读(162) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 24 下一页