Skip to content

feat: Change base selenium client version to selenium 4#636

Merged
KazuCocoa merged 55 commits intomasterfrom
selenium-4
Oct 15, 2021
Merged

feat: Change base selenium client version to selenium 4#636
KazuCocoa merged 55 commits intomasterfrom
selenium-4

Conversation

@KazuCocoa
Copy link
Copy Markdown
Member

@KazuCocoa KazuCocoa commented Sep 8, 2021

Main changes:

  • Changed base selenium client version to v4
    • No longer forceMjsonwp works
  • Add strict_ssl option in webdriver.Remote

I'll address the above change in this release note, and will summarize this merge note so that next release note can show these changes

KazuCocoa and others added 30 commits December 14, 2020 10:45
* Bump 2.0.0.b1

* Update changelog for 2.0.0.b1

* remove w3c
* chore: add placeholder

* move to extention way

* revert pytest

* add todo

* call method_name instead of wrapper

* remove types

* rename a method

* add examples

* add types-python-dateutil as error message

* add example more

* tweak naming

* Explicit Dict
* feat: add satellites in set_location

* fix review
Updates the requirements on [tox](https://github.com/tox-dev/tox) to permit the latest version.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](tox-dev/tox@3.23.0...3.24.0)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Updates the requirements on [pylint](https://github.com/PyCQA/pylint) to permit the latest version.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog)
- [Commits](pylint-dev/pylint@pylint-2.8.0...v2.10.2)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@KazuCocoa
Copy link
Copy Markdown
Member Author

KazuCocoa commented Oct 14, 2021

As same as Selenium client, will remove find_element_by_android_view_matcher etc.
Instead, everything will guide users to use find_element(MobileBy.XXXX, 'xxxxx')

No, Python client still has https://github.com/SeleniumHQ/selenium/blob/db6d118967b648b71343c9c5183ccf6f6c4887af/py/selenium/webdriver/remote/webelement.py#L170

@KazuCocoa
Copy link
Copy Markdown
Member Author

will clean up changelog.

@KazuCocoa KazuCocoa changed the title selenium 4 feat: Change base selenium client version to selenium 4 Oct 15, 2021
@KazuCocoa KazuCocoa marked this pull request as ready for review October 15, 2021 02:46
from test.unit.helper.test_helper import appium_command, get_httpretty_request_body, ios_w3c_driver


class TestWebDriverLog(object):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in Py3 it is not necessary to inherit classes from object anymore

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea. I followed other tests in this pr. Will create a follow-up PR to update tests.


class TestWebDriverLog(object):
@httpretty.activate
def test_get_log_types(self):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it be possible to use pytest style and write test methods at the module level instead of putting them into a class?

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

Successfully merging this pull request may close these issues.

2 participants