Closed tachsin closed 1 year ago
Hi, this error is because the driver cannot find the "email" text field to enter the email. This is an error that happens infrequently, perhaps due to connection problems or errors in clicking the cookie button. You could try running the webdriver
in full screen, or just restart the script.
Please be patient as the new version has just been released and there may be some errors that I could not detect. Thank you for the report and let me know.
the problem persists, I tried maximizing the driver with driver.maximize_window()
, no change
Hi, thanks for reporting, can you please share your code, I've tried to reproduce the error but it's working for me
This error can be related to internet connection and slow speed of T212 to load i think. Please follow these steps and let me know so i can update the core accordingly.
WebDriverWait(self.driver, 120).until(expected_conditions.visibility_of_element_located((By.NAME, "email")))
just below console.log("Authenticating")
inside trading212.py
You should have something like that
console.log("Authenticating")
WebDriverWait(self.driver, 120).until(expected_conditions.visibility_of_element_located((By.NAME, "email")))
self.driver.find_element(By.NAME, "email").send_keys(email) self.driver.find_element(By.NAME, "password").send_keys(password)
Please let me know, if you need more help you can also join inside Discord group or contact me by email or other ways.
I'm not able to reproduce the error since it never happens to me.
Running the example I get the following error: