pytest-splinter does not work with splinter>=0.18.0
See original GitHub issue
def patch_webdriverelement(): # pragma: no cover
"""Patch the WebDriverElement to allow firefox to use mouse_over."""
def mouse_over(self):
"""Perform a mouse over the element which works."""
(
ActionChains(self.parent.driver)
.move_to_element_with_offset(self._element, 2, 2)
.perform()
)
# Apply the monkey patch for Firefox WebDriverElement
> firefox.WebDriverElement.mouse_over = mouse_over
E AttributeError: module 'splinter.driver.webdriver.firefox' has no attribute 'WebDriverElement'
.venv/lib64/python3.10/site-packages/pytest_splinter/splinter_patches.py:21: AttributeError
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
splinter — Splinter 0.18.1 documentation
Documentation for splinter, an open source tool for testing web applications.
Read more >pytest-splinter
pytest -splinter should use single browser instance per test session. ... 1.8.3. Profile does not work with geckodriver+remote webdriver #90) (pelme) ...
Read more >splinter - python test framework for web applications
splinter · Easy to learn: The API is designed to be intuitive and quick to pick up. · Faster to code: Automate browser...
Read more >Unable to create a Browser() instance with Splinter
Solution. Splinter is a wrapper designed on top of selenium and other automation web tools. The reason I got this error was because...
Read more >splinter 0.7.7 on PyPI
splinter is an open source tool for testing web applications using Python. ... Note: if you don't provide any driver argument to the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
“No… you’re breathtaking!” Thanks!
Working for me! Thanks! Gratz 4 teh release 🎸