Skip to content

Not compatible with Selenium version >= 4.x.x #16

Description

@drahoja9

This library is not compatible with package selenium >= 4.

Just importing the module from webdriverwrapper.pytest import * results in:

/usr/local/lib/python3.7/dist-packages/webdriverwrapper/__init__.py:3: in <module>
    from webdriverwrapper import unittest
/usr/local/lib/python3.7/dist-packages/webdriverwrapper/unittest/__init__.py:1: in <module>
    from .testcase import WebdriverTestCase, ONE_INSTANCE_FOR_ALL_TESTS, ONE_INSTANCE_PER_TEST, ONE_INSTANCE_PER_TESTCASE
/usr/local/lib/python3.7/dist-packages/webdriverwrapper/unittest/testcase.py:9: in <module>
    from webdriverwrapper.wrapper import Firefox, Chrome, ChromeOptions
/usr/local/lib/python3.7/dist-packages/webdriverwrapper/wrapper.py:14: in <module>
    from selenium.webdriver.firefox.webelement import FirefoxWebElement
E   ModuleNotFoundError: No module named 'selenium.webdriver.firefox.webelement'

Is there something we can do about this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions