Attempt to fix Selenium issues