ad-m / ad-m/python-anticaptcha

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

Open
#95 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
230
Forks
53
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.