New to Selenium, but my understanding is that it doesn't play nice with AngularJS sites. I'm using Javascript to access input boxes and I successfully populate them with values, but then when I click on the Login button programmatically or not, I get a "wrong username or password" error. What am I doing wrong?
Here's what the code looks like (without personal details of course):
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time
PATH = "/Users/<home drive>/Documents/chromedriver"
driver = webdriver.Chrome(PATH)
driver.get("https://www.binarycent.com/")
link = driver.find_element_by_link_text("Login")
link.click()
#javascript finds an input element and changes its text value to my username
print(driver.execute_script("document.getElementsByTagName('input')[2].value = \"myusername\""))
#javascript finds an input element and changes its text value to my password
print(driver.execute_script("document.getElementsByTagName('input')[3].value = \"mypassword\""))
time.sleep(20)
#print(driver.execute_script("document.getElementsByTagName('button')[0].click()"))
time.sleep(2)
driver.quit()
Here's what the site inspection yields for the email and password input fields:

send_keysstill?