Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
189 changes: 184 additions & 5 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,81 @@ Changelog
(unreleased)
------------

Fix
~~~
- Fix format with black. [Kazuaki Matsuo]
- Fix lint, CI and tests. [Kazuaki Matsuo]

Other
~~~~~
- Bump 2.0.0.b1. [Kazuaki Matsuo]
- Bump base selenium version to 4.0.0.b2. [Kazuaki Matsuo]
- Bump v2.0.0.a0. [Kazuaki Matsuo]
- Update changelog for v2.0.0.a0. [Kazuaki Matsuo]
- Bump selenium. [Kazuaki Matsuo]


v1.1.0 (2021-03-10)
-------------------

New
~~~
- Feat: Add optional location speed attribute for android devices (#594)
[salabogdan]
- Feat: Added docstring for macOS screenrecord option (#580) [Mori
Atsushi]

* Added docstring for macOS screenrecord option

* tweak

* review comment
- Feat: add warning to drop forceMjsonwp for W3C (#567) [Kazuaki Matsuo]

* tweak

* fix test

* print warning

* revert test

* Update webdriver.py

* fix autopep8
- Feat: Added descriptions for newly added screenrecord opts (#540)
[Mori Atsushi]

* Add description for newly added opts for screen record

* Updates

Fix
~~~
- Fix lint, CI and tests. [Kazuaki Matsuo]

Test
~~~~
- Ci: Use node v12 (#585) [Mori Atsushi]

* Use node 12 on ci

* Update copyright

* Update README for doc

* tweak

* fix copyright

* try py310

* remove py310
- Ci: remove travis (#581) [Mori Atsushi]

* Removed travis and run unit test on azure

* review comment

* run tox on azure pipelines

* removed tox-travis from pipfile
- Ci: move azure project to Appium CI, update readme (#564) [Kazuaki
Matsuo]
- Ci: Added py39-dev for travis (#557) [Mori Atsushi]
Expand All @@ -43,8 +103,127 @@ Test

Other
~~~~~
- Chore(deps-dev): update pre-commit requirement from ~=2.10 to ~=2.11
(#595) [dependabot[bot]]

Updates the requirements on [pre-commit](https://github.com/pre-commit/pre-commit) to permit the latest version.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.10.0...v2.11.0)
- Chore(deps): update tox requirement from ~=3.22 to ~=3.23 (#593)
[dependabot[bot]]

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/3.23.0/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.22.0...3.23.0)
- Chore(deps): update pylint requirement from ~=2.6 to ~=2.7 (#588)
[Mori Atsushi, dependabot[bot]]

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/master/ChangeLog)
- [Commits](https://github.com/PyCQA/pylint/compare/pylint-2.6.0...pylint-2.7.0)
- Chore(deps): update astroid requirement from ~=2.4 to ~=2.5 (#587)
[dependabot[bot]]

Updates the requirements on [astroid](https://github.com/PyCQA/astroid) to permit the latest version.
- [Release notes](https://github.com/PyCQA/astroid/releases)
- [Changelog](https://github.com/PyCQA/astroid/blob/master/ChangeLog)
- [Commits](https://github.com/PyCQA/astroid/compare/astroid-2.4.0...astroid-2.5)
- Chore(deps): update mypy requirement from ~=0.800 to ~=0.812 (#589)
[Mori Atsushi, dependabot[bot]]

* chore(deps): update mypy requirement from ~=0.800 to ~=0.812

Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.800...v0.812)

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

* Fix mypy error with mypy v0.812 (#590)

* chore(deps): update mypy requirement from ~=0.800 to ~=0.812

Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.800...v0.812)
- Chore(deps): update tox requirement from ~=3.21 to ~=3.22 (#586)
[dependabot[bot]]

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](https://github.com/tox-dev/tox/compare/3.21.0...3.22.0)
- Chore: Add table for screen_record kwarg (#582) [Mori Atsushi]

* Add table for kwarg

* update

* Add missing doc to stop_recording

* Push auto-generated changes by sphinx

* delete duplicated entry [skip ci]
- Chore(deps): update isort requirement from ~=5.0 to ~=5.7 (#578)
[dependabot-preview[bot]]

Updates the requirements on [isort](https://github.com/pycqa/isort) to permit the latest version.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/pycqa/isort/compare/5.0.0...5.7.0)
- Create Dependabot config file (#579) [dependabot-preview[bot],
dependabot-preview[bot]]
- Chore: Update pipfile to respect isort v5 (#577) [Mori Atsushi]
- Chore: Fix iOS app management functional tests (#575) [Mori Atsushi]

* Added sleep to wait the app has gone

* Upgrade AndroidSDK to 30 from 27

* Added sleep to ios tc

* Fix android activities test

* Revert android sdk ver

* Used timer instead of fixed wait time

* Created wait_for

* Update test/functional/test_helper.py

* review comments

* review comments

* Extend callable type

* fix

* review comment

* review comment

* review comment

* fix comment
- Chore: Fix functional keyboard tests with appium v1.21.0-beta.0 (#574)
[Mori Atsushi]

* Fix function keyboard tests

* Updated class name for keyboard
- Chore: Apply Black code formatter (#571) [Mori Atsushi]

* Applied black (length: 120, String skipped)

* Updated related to ci

* Update README
- Chore: address selenium-4 branch in readme (#566) [Kazuaki Matsuo]
- Bump selenium. [Kazuaki Matsuo]
- Docs: fix wrong code example in README.md (#555) [sanlengjingvv]
- Update changelog for 1.0.2. [Kazuaki Matsuo]

Expand Down
2 changes: 1 addition & 1 deletion appium/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = '2.0.0.b0'
version = '2.0.0.b1'
5 changes: 2 additions & 3 deletions appium/webdriver/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,20 +307,19 @@ def find_elements(self, by: str = By.ID, value: Union[str, Dict] = None) -> Unio

return self.execute(RemoteCommand.FIND_ELEMENTS, {'using': by, 'value': value})['value'] or []

def create_web_element(self, element_id: Union[int, str], w3c: bool = True) -> MobileWebElement:
def create_web_element(self, element_id: Union[int, str]) -> MobileWebElement:
"""Creates a web element with the specified element_id.

Overrides method in Selenium WebDriver in order to always give them
Appium WebElement

Args:
element_id: The element id to create a web element
w3c: Whether the element is W3C or MJSONWP

Returns:
`MobileWebElement`
"""
return MobileWebElement(self, element_id, w3c)
return MobileWebElement(self, element_id)

def set_value(self, element: MobileWebElement, value: str) -> T:
"""Set the value on an element in the application.
Expand Down