Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "DeprecationWarning: find_element_by_" #99

Open
Flavien06 opened this issue May 16, 2022 · 2 comments
Open

Error "DeprecationWarning: find_element_by_" #99

Flavien06 opened this issue May 16, 2022 · 2 comments

Comments

@Flavien06
Copy link

Flavien06 commented May 16, 2022

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()
@Flavien06 Flavien06 changed the title Does works on Linux without GUI Error "DeprecationWarning: find_element_by_" Jun 6, 2022
@array81
Copy link

array81 commented Jun 19, 2022

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

@juniorik
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants