While Selenium is primarily used for testing, it can be used for web scraping, but other tools may be more efficient for this purpose.