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

Unable to locate element: #33

Open
enriquelpz23 opened this issue Sep 3, 2020 · 2 comments · May be fixed by #35
Open

Unable to locate element: #33

enriquelpz23 opened this issue Sep 3, 2020 · 2 comments · May be fixed by #35

Comments

@enriquelpz23
Copy link

I'm having this error:

NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id="loginbutton"]"}
(Session info: chrome=85.0.4183.83)

Any advice?

@enriquelpz23 enriquelpz23 linked a pull request Sep 3, 2020 that will close this issue
JoaoRibeiroMedeiros added a commit to JoaoRibeiroMedeiros/facebook-post-scraper that referenced this issue Sep 11, 2020
JoaoRibeiroMedeiros added a commit to JoaoRibeiroMedeiros/facebook-post-scraper that referenced this issue Sep 11, 2020
JoaoRibeiroMedeiros added a commit to JoaoRibeiroMedeiros/facebook-post-scraper that referenced this issue Sep 11, 2020
@futur3gho5t
Copy link

change at scraper.py this line: browser.find_element_by_id(loginbutton').click() to this browser.find_element_by_id('u_0_b').click()

@KlevisImeri
Copy link

KlevisImeri commented Sep 10, 2023

change at scraper.py this line: browser.find_element_by_id(loginbutton').click() to this browser.find_element_by_id('u_0_b').click()

the id changes continuously so you can use 'browser.find_element_by_name('login').click()' but this is depricated too. The whole script need to be updated.

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

Successfully merging a pull request may close this issue.

3 participants