loblab / noip-renew

Auto renew (confirm) noip.com free hosts
Apache License 2.0
423 stars 134 forks source link

Error "DeprecationWarning: find_element_by_" #99

Open Flavien06 opened 2 years ago

Flavien06 commented 2 years ago

Hello, I use Raspberry Pi OS Lite.

Log file is empty, and in consol return I have

/usr/local/bin/noip-renew.py:73: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
  ele_usr = self.browser.find_element_by_name("username")
/usr/local/bin/noip-renew.py:74: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
  ele_pwd = self.browser.find_element_by_name("password")
/usr/local/bin/noip-renew.py:77: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
  self.browser.find_element_by_name("Login").click()
array81 commented 2 years ago

I get the same error with Raspberry Pi 3b+ and Raspberry OS (64 bit)

juniorik commented 1 year ago

ele_usr = self.browser.find_element("name","username") ele_pwd = self.browser.find_element("name", "password") ele_usr.send_keys(self.username) ele_pwd.send_keys(self.password) self.browser.find_element("id", "clogs-captcha-button").click()