selenium浏览器自动化测试框架-待收集整理实践

2022-09-29 18:59:12 浏览数 (1)

[TOC]

selenium 包模块

原因是chrome浏览器和chromedriver驱动版本不一致导致的. pageid:

WeiyiGeek.webdriver说明

from selenium import webdriver

driver = webdriver.Chrome(executable_path=r’D:Googledriverchromedriver.exe’) driver.get(URL) driver.get_screenshot_as_file(‘./BreezePython.png’) driver.close() https://chromedriver.storage.googleapis.com/index.html?path=76.0.3809.68/

https://blog.csdn.net/xc_zhou/article/details/80755236

https://blog.csdn.net/lgh1117/article/details/7740136

0 人点赞