Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Object of type 'WebDriver' is not JSON serializable #95

Open
Aizhan86 opened this issue Nov 10, 2021 · 0 comments
Open

TypeError: Object of type 'WebDriver' is not JSON serializable #95

Aizhan86 opened this issue Nov 10, 2021 · 0 comments

Comments

@Aizhan86
Copy link

Got error when trying to fill registration form using selenium:

def should_register_new_donor(self):
    # проверка, что есть элементы в форме регистрации
    PATIENT_IIN = self.browser.execute_script("document.getElementById('input_iin_id');")
    sleep(3)
    assert self.is_element_present(self, PATIENT_IIN), "No field for the Patient's IIN"
    self.browser.find_element(self, PATIENT_IIN).send_keys("010101123456")
@Aizhan86 Aizhan86 reopened this Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant