Using selenium chrome webdriver to automate web actions and retrieve data from web pages.
- Install Selenium for Java (4.17.0 version)
- Install the Chrome webdriver (121.0.6167.160 version)
- Create a config.properties file to store the paths. Then change the key names to your own.
The workspace contains two folders by default, where:
src
: the folder to maintain sourceslib
: the folder to maintain dependencies
Meanwhile, the compiled output files will be generated in the bin
folder by default.
If you want to customize the folder structure, open
.vscode/settings.json
and update the related settings there.