Selenium 使用詳解

Selenium 使用詳解

1、環境配置linux

瀏覽器: chrome
yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpmchrome

瀏覽器驅動: chromedriver
https://chromedriver.storage.googleapis.com/92.0.4515.43/chromedriver_linux64.zipapi

環境變量: 可在代碼中設置瀏覽器

chrome ***面啓動: 參數ide

2、API
https://www.selenium.dev/documentation/zh-cn/google

3、常見坑ip

相關文章
相關標籤/搜索