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

SelectEnhancer doesn't work with driver.execute_script('...', select) #43

Open
kottenator opened this issue Feb 14, 2017 · 0 comments
Open

Comments

@kottenator
Copy link

kottenator commented Feb 14, 2017

When I do:

driver.execute_script('alert(arguments[0].tagName)', page.select_element)

... it raises an exception:

TypeError: <holmium.core.enhancers.SelectEnhancer object at 0x7f7af0ab44e0> is not JSON serializable

Environment

  • Python 3.4
  • holmium.core==0.8.5
  • selenium==3.0.2
  • Firefox / Geckodriver
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