Skip to content

Commit

Permalink
Merge pull request #179 from webbsledge/main
Browse files Browse the repository at this point in the history
authentication element fix
  • Loading branch information
timkpaine authored May 3, 2024
2 parents 7d95641 + 0a2a7f2 commit 417400e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tdameritrade/auth/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def authentication(client_id, redirect_uri, tdauser=None, tdapass=None):
# Fully automated oauth2 authentication (if tdauser and tdapass were inputed into the function, or found as
# environment variables)
if tdauser and tdapass:
ubox = driver.find_element(By.ID, "username")
pbox = driver.find_element(By.ID, "password")
ubox = driver.find_element(By.ID, "username0")
pbox = driver.find_element(By.ID, "password1")
ubox.send_keys(tdauser)
pbox.send_keys(tdapass)
driver.find_element(By.ID, "accept").click()
Expand Down

0 comments on commit 417400e

Please sign in to comment.