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

Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id="pageSliderCounter"]"} #137

Closed
Lorne0 opened this issue Feb 22, 2023 · 1 comment

Comments

@Lorne0
Copy link

Lorne0 commented Feb 22, 2023

macOS 12.4 (M1), Python 3.9

I encountered
Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id="pageSliderCounter"]"}

I've tried to downgrade my chrome version to 99 or 109, not using 110. Then no matter what the chrome version is, it still failed by the above error (since #136 makes me failed to use chrome 110)

Is it the update in BW site? Could anyone help for this?

Thanks!!

@Lorne0
Copy link
Author

Lorne0 commented Feb 24, 2023

I solved my problem like this:
driver.find_element(By.CSS_SELECTOR, '.swal2-confirm.swal2-styled').click() # click "確定"
\# go to the MANGA_URL page again
driver.set_window_size(RES[0], RES[1])
driver.get(MANGA_URL)

This is the same problem as here: #116

@Lorne0 Lorne0 closed this as completed Feb 24, 2023
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

1 participant