Adapted Selenium usage to Mac version