This project uses Selenium to automate the search for foreign currency exchange rates, such as the Swiss Franc, Euro, and Dollar, from the Peruvian SUNAT website. The goal is to obtain the exchange rate in Soles.
- Python 3.0+
- Google Chrome installed
- Chromedriver (compatible with the installed version of Google Chrome and the operating system in use)
- Selenium to interact with the browser
-
Install Selenium
Run the following command to install the Selenium library:
pip install selenium
-
Install Chromedriver
Download Chromedriver from here for your operating system and your version of Chrome. Then, unzip the downloaded file and ensure
chromedriver
is accessible from your project. -
Set up Chromedriver Permissions (Linux)
After downloading, ensure Chromedriver has the necessary permissions:
chmod +x chromedriver