This is the step-by-step code tied to the Medium post: "Hey Selenium, scrape me a shopping list" as well as the saved CSV file, final_shopping_df.csv
, produced from the steps.
This simple scraping project shows 4 basic steps of scraping using Selenium:
- Open web browser
- Go to desired web page
- Perform desired action(s)
- Scrape information from rendered web page
selenium
time
pandas
numpy