ad-m / ad-m/python-anticaptcha

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

Đang mở
#95 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
230
Fork
53
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.