Skip to content

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

@Aizhan86

Description

@Aizhan86

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")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions