Added utility methods for Selenium testing