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

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

Open
drahoja9 opened this issue Jan 24, 2022 · 1 comment
Open

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

drahoja9 opened this issue Jan 24, 2022 · 1 comment

Comments

@drahoja9
Copy link

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?

@horejsek
Copy link
Owner

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

BTW hello to Seznam. :)

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

2 participants