Skip to content

Commit

Permalink
Fix build for splinter 0.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mpasternak committed Jun 15, 2022
1 parent 3302554 commit 5aaeec3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/fixtures/conftest.py
Expand Up @@ -959,3 +959,15 @@ def django_db_setup(django_db_setup, django_db_blocker): # noqa

with django_db_blocker.unblock():
denorms.install_triggers()


# https://github.com/pytest-dev/pytest-splinter/issues/158
# AttributeError: module 'splinter.driver.webdriver.firefox' has no attribute 'WebDriverElement'


from pytest_splinter.webdriver_patches import patch_webdriver


@pytest.fixture(scope="session")
def browser_patches():
patch_webdriver()

0 comments on commit 5aaeec3

Please sign in to comment.