python-webdriverwrapper icon indicating copy to clipboard operation
python-webdriverwrapper copied to clipboard

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

Open drahoja9 opened this issue 4 years ago • 1 comments

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?

drahoja9 avatar Jan 24 '22 09:01 drahoja9

Well, you can upgrade it and make PR. Unfortunately I don't plan to port it.

BTW hello to Seznam. :)

horejsek avatar Jan 26 '22 17:01 horejsek