I am trying to write a program that will log me in to my Wells Fargo account. However, after running my code, it just takes me to the same page and doesn't log me in. I tried putting the log in section in a loop and it continuously loops.
Here is the code :
from selenium import webdriver
import time
browser = webdriver.Chrome()
browser.get('https://connect.secure.wellsfargo.com/auth/login/present?
origin=cob&error=yes&LOB=CONS&destination=AccountSummary')
userID = browser.find_element_by_name('j_username')
userID.clear()
userID.send_keys('my_username')
password = browser.find_element_by_name('j_password')
password.clear()
password.send_keys('my_password')
password.submit()
time.sleep(5)
browser.quit
Below is a screenshot.
And here is the copy pasted error code I receive :
[9152:6848:1218/202615.262:ERROR:service_manager.cc(157)] Connection InterfaceProviderSpec prevented service: content_renderer from binding interface: blink::mojom::ReportingServiceProxy exposed by: content_browser
I've tried googling that error code along with key phrases and parts of the error code and have not found a solution yet.
I have found a temporary work around using Firefox instead. Firefox never gave me the originally posted error. However, when I tried using Firefox it sent me to a captcha page. Through sheer luck while retesting the program, I clicked on the console window from the geckodriver and learned that if you are clicked in a different window (any window it appears), Wells Fargo does not send you to the captcha page and logs you in to your account. So I modified my code to open up a second browser and close it while it's entering in info.
browser = webdriver.Firefox()
browser2 = webdriver.Firefox()
browser.get('https://connect.secure.wellsfargo.com/auth/login/present?origin=cob&error=yes&LOB=CONS&destination=AccountSummary')
userID = browser.find_element_by_id("j_username")
userID.clear()
userID.send_keys('my_username')
password = browser.find_element_by_id("j_password")
password.clear()
password.send_keys('my_password')
browser.find_element_by_name("continue").click()
browser2.quit()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With