I have multiple scripts in my python directory for pulling up various websites and logging me in and doing various other tasks. They work perfectly fine until I created another script to log into my email and now none of those scripts in that directory will work while that email script is in there. If I move the script to a different directory then all the previous ones work again but then the current directory with my email.py will have issues with selenium webdriver giving me the
"AttributeError: module 'selenium.webdriver' has no attribute 'Chrome'"
Question is how do I fix this and why is it occurring with only that file?
from selenium import webdriver
driver =
webdriver.Chrome(executable_path='/users/roughcaster/Downloads/chromedriver')
driver.get('https://sso.secureserver.net/login?app=email&realm=pass')
username =
driver.find_element_by_id('username').send_keys('trey@nationwideautoshipping.com')
password = driver.find_element_by_id('password').send_keys('Ship2020*')
signin = driver.find_element_by_link_text('Sign In').click()
driver.quit()