Selenium is used to test web applications. It is mostly used to perform browser automation using various programming language-based libraries and browser drivers. As we saw in a previous section, Exploring Selenium, we can navigate and locate elements in a page using Selenium and perform crawling and scraping-related activities.
Let's look at a few examples of scraping contents from web pages using Selenium.