appium / ruby_lib

:gem: Ruby library for Appium
http://rubygems.org/gems/appium_lib
216 stars 160 forks source link

chore: Update appium_lib_core requirement from ~> 5.0.0 to >= 5.0, < 5.2 #913

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on appium_lib_core to permit the latest version.

Changelog

Sourced from appium_lib_core's changelog.

[5.1.0] - 2021-12-25

Enhancements

  • Make default pointerType touch for the pointer in W3C actions instead of mouse for Appium
    • This change should not affect W3C actions

[5.0.3] - 2021-12-13

Enhancements

  • Can add more arguments in install_app
    • e.g. Add timeoutMs for XCUITest driver as @driver.install_app("/path/to/test.ipa", timeoutMs: 20000)

Bug fixes

  • (internal) Allow to access to bridge attribute in driver instance for appium_flutter_finder

[5.0.2] - 2021-12-01

Bug fixes

  • (internal) Fix firstMatch format in a new session creation

[5.0.1] - 2021-11-23

Enhancements

  • Relaxed version restriction of selenium-webdriver

[5.0.0] - 2021-11-05

Enhancements

  • Update base selenium webdriver version to v4
    • Base Selenium Ruby binding is now v4
    • Support only W3C WebDriver spec (and a few Appium specific commands)
    • Support Ruby 2.6+
  • Add driver#wait, driver#wait_until, driver#wait_true, driver#wait_until_true syntaxes
    • Can give driver instance as its block variable
  • element.id returns the element id instead of element.ref.
    • element.ref now returns an array.
  • Removed desired_capabilities as capabilities for Appium::Core#for. Please use capabilities key name instead.
    • e.g. Appium::Core.for capabilities: {...} instead of Appium::Core.for desired_capabilities: {...}
  • Removed methods that had Deprecated mark
    • Removed driver#screenshot. Please use driver#save_screenshot instead
    • Removed driver#send_keys to send keys to an active element. Please use driver.action.send_keys('happy testing').perform instead
    • Removed forceMjsonwp to send only MJSONWP capabilities since Selenium cleint v4 no longer supports MJSONWP
  • No longer set default timeouts as 0
    • ruby_lib_core calls /timeouts endpoint only when appium_lib: { wait: 5 } is provided explicitly
  • Raises ::Appium::Core::Error::ArgumentError instead of ArgumentError for this library specific argument errors
  • Removed Selendroid related methods

Deprecations

  • Appium::Core::TouchAction and Appium::Core::MultiTouch are deprecated

... (truncated)

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)