This exercise want to test your abilities using Selenium python library.
To do this exercise is mandatory to have a webdriver downloaded.
Following are the goals, the description and the important things to know:
Goals of this exercise:
- Learn about Selenium library
- Find web elements using different Selenium methods (css selectors, id, xpath, tag name).
- Intereact with web elements throught clicking, sending keys and cleaning commands.
- Extract data from the web.
- Read and write files.
Description:
You have a dinner with some friends in your house tomorrow. You created a list of products that you need to prepare it
and now is the moment to buy it online.
From "purchase_list.csv" file which contain the category, the product and the amount of product to buy add all
the products to the cart and extract its name, unit price, total price of each product and total price of the
purchase. Export these details to a file named "purchase_ticket.txt".
________________________________________________________________________________________________________________________
**IMPORTANT**:
- The product selected must have the cheapest unit price of its section.
- Use time.sleep function to create a delay between some actions. It would happen that you want to access
an element before it is charged and the program breaks
- VPN would cause interferences with the webdrive, please try to execute the program without it
________________________________________________________________________________________________________________________