appium_lib 10.1.0 → 10.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/docs/android_docs.md +210 -228
- data/docs/ios_docs.md +252 -270
- data/lib/appium_lib/driver.rb +4 -11
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +6 -0
- metadata +2 -2
data/lib/appium_lib/driver.rb
CHANGED
@@ -703,9 +703,6 @@ module Appium
|
|
703
703
|
# Return ImageElement if current view has a partial image
|
704
704
|
#
|
705
705
|
# @param [String] png_img_path A path to a partial image you'd like to find
|
706
|
-
# @param [Flood] match_threshold At what normalized threshold to reject
|
707
|
-
# @param [Bool] visualize Makes the endpoint to return an image, which contains the visualized result of
|
708
|
-
# the corresponding picture matching operation. This option is disabled by default.
|
709
706
|
#
|
710
707
|
# @return [::Appium::Core::ImageElement]
|
711
708
|
# @raise [::Appium::Core::Error::NoSuchElementError|::Appium::Core::Error::CoreError] No such element
|
@@ -714,17 +711,13 @@ module Appium
|
|
714
711
|
#
|
715
712
|
# @driver.find_element_by_image './test/functional/data/test_element_image.png'
|
716
713
|
#
|
717
|
-
|
718
|
-
|
719
|
-
@driver.find_element_by_image(png_img_path, match_threshold: match_threshold, visualize: visualize)
|
714
|
+
def find_element_by_image(png_img_path)
|
715
|
+
@driver.find_element_by_image(png_img_path)
|
720
716
|
end
|
721
717
|
|
722
718
|
# Return ImageElement if current view has partial images
|
723
719
|
#
|
724
720
|
# @param [[String]] png_img_paths Paths to a partial image you'd like to find
|
725
|
-
# @param [Flood] match_threshold At what normalized threshold to reject
|
726
|
-
# @param [Bool] visualize Makes the endpoint to return an image, which contains the visualized result of
|
727
|
-
# the corresponding picture matching operation. This option is disabled by default.
|
728
721
|
#
|
729
722
|
# @return [[::Appium::Core::ImageElement]]
|
730
723
|
# @return [::Appium::Core::Error::CoreError]
|
@@ -733,8 +726,8 @@ module Appium
|
|
733
726
|
#
|
734
727
|
# @driver.find_elements_by_image ['./test/functional/data/test_element_image.png']
|
735
728
|
#
|
736
|
-
def find_elements_by_image(png_img_paths
|
737
|
-
@driver.find_elements_by_image(png_img_paths
|
729
|
+
def find_elements_by_image(png_img_paths)
|
730
|
+
@driver.find_elements_by_image(png_img_paths)
|
738
731
|
end
|
739
732
|
|
740
733
|
# Calls @driver.set_location
|
data/lib/appium_lib/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Appium
|
2
2
|
# Version and Date are defined on the 'Appium' module, not 'Appium::Common'
|
3
|
-
VERSION = '10.
|
4
|
-
DATE = '2019-
|
3
|
+
VERSION = '10.2.0'.freeze unless defined? ::Appium::VERSION
|
4
|
+
DATE = '2019-03-01'.freeze unless defined? ::Appium::DATE
|
5
5
|
end
|
data/release_notes.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
#### v10.2.0 2019-03-01
|
2
|
+
|
3
|
+
- [f1b8a2e](https://github.com/appium/ruby_lib/commit/f1b8a2e32fc935508e13431570fd7de4a90b6bd7) Release 10.2.0
|
4
|
+
- [dbac05e](https://github.com/appium/ruby_lib/commit/dbac05e58dc25c1e682a4183dff4ead7202a857c) Fix find element by image (#854)
|
5
|
+
|
6
|
+
|
1
7
|
#### v10.1.0 2019-02-21
|
2
8
|
|
3
9
|
- [4b43cf7](https://github.com/appium/ruby_lib/commit/4b43cf7b240a7b4cab7b22198ed4dd1307611545) Release 10.1.0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.
|
4
|
+
version: 10.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- code@bootstraponline.com
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-03-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: appium_lib_core
|