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

js = '$(".bdpfmenu")[0].style.display="block"' self.execute_async_script(js) #393

Closed
meilisong1 opened this issue Oct 17, 2019 · 1 comment
Labels
question Someone is looking for answers

Comments

@meilisong1
Copy link

E selenium.common.exceptions.JavascriptException: Message: Cannot r
perty 'style' of undefined
E JavaScript stack:
E TypeError: Cannot read property 'style' of undefined

@mdmintz
Copy link
Member

mdmintz commented Oct 17, 2019

Since the result is the same when using self.driver.execute_async_script(js), which calls the WebDriver method directly, I would double check your usage of that.

@mdmintz mdmintz closed this as completed Oct 20, 2019
@mdmintz mdmintz added the question Someone is looking for answers label Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Someone is looking for answers
Projects
None yet
Development

No branches or pull requests

2 participants