79313561

Date: 2024-12-28 10:04:58
Score: 2.5
Natty:
Report link

I still don't understand why the css_selector option is not working. As I agree with Jeremy Carney that a long XPATH is not an option I find this way:

driver.find_element(By.XPATH, '//[@name="username"]').send_keys("username") driver.find_element(By.XPATH, '//[@name="password"]').send_keys("password")

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Hans