What are the pros and cons of using Selenium for automated testing?