Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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