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

JavaScript is not available. #22

Open
mathiasleroy opened this issue Nov 26, 2021 · 0 comments
Open

JavaScript is not available. #22

mathiasleroy opened this issue Nov 26, 2021 · 0 comments

Comments

@mathiasleroy
Copy link

mathiasleroy commented Nov 26, 2021

It worked nicely a few months ago, but now it doesn't.
Can it be the update to selenium 4.1.0 ?

!pip install kora
from kora.selenium import wd

wd.get("https://www.twitter.com")
print(wd.page_source) 

JavaScript is not available.
We’ve detected that JavaScript is disabled in this browser. Please enable JavaScript or switch to a supported browser to continue using twitter.com. You can see a list of supported browsers in our Help Center.

EDIT:

I tried this

options.add_argument('--disable-blink-features=AutomationControlled')

and this

options.add_argument("--enable-javascript")
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