Selunium 自动化
Opened this issue · 0 comments
xiaozefeng commented
Selenium 自动化
- install browser ( google-chrome or chromium)
- download webdriver : https://sites.google.com/a/chromium.org/chromedriver/downloads
- unzip it
- add to path :
sudo ln -s /path/to/webdriver/chromedriver /usr/local/bin/chromedriver
Nodes: select suitable driver
- open the browser
- setttings -> about
Python Usage
- pip install selenium
- wite code: https://blog.csdn.net/a464057216/article/details/52717464
- run: python3 xx.py
Reference
https://www.selenium.dev/documentation/en/getting_started/
Other Automation Tool
puppeteer: https://github.com/puppeteer/puppeteer