testa_appium_driver 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/testa_appium_driver/driver.rb +4 -2
- data/lib/testa_appium_driver/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53b4ee10d5b145283abf6bfc60c4ef0fb16b5dda76ec730a6727c63f6116906a
|
4
|
+
data.tar.gz: bd2ec80cf30c27b8c0012987b9e1189c5527ca5b8ae0fb66fe022475e863cf5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35e0c6d1fca40a3e497d7bf5cf6b1f1af289de54ade56212495fde80ca1bdce8aae547a1af9b794e9ada3c0054b9e236828e5751c458c2d6c6899bb21c3a61f7
|
7
|
+
data.tar.gz: 353ccba018403b376caf6a1f1d33c9bb90baab3375b6b4374f284d31292eca04a1c7f9f6fcf7c6f3431f7faa636046f9a065a07df58a0be3c14f26f32110e0a1
|
@@ -1,4 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
+
require 'em/pure_ruby'
|
3
|
+
require 'appium_lib_core'
|
2
4
|
|
3
5
|
require_relative 'common/bounds'
|
4
6
|
require_relative 'common/exceptions/strategy_mix_exception'
|
@@ -21,7 +23,7 @@ module TestaAppiumDriver
|
|
21
23
|
|
22
24
|
|
23
25
|
|
24
|
-
core =
|
26
|
+
core = Appium::Core.for(opts)
|
25
27
|
extend_for(core.device, core.automation_name)
|
26
28
|
@device = core.device
|
27
29
|
@automation_name = core.automation_name
|
@@ -32,7 +34,7 @@ module TestaAppiumDriver
|
|
32
34
|
invalidate_cache!
|
33
35
|
|
34
36
|
|
35
|
-
|
37
|
+
Selenium::WebDriver::Element.set_driver(self, opts[:caps][:udid])
|
36
38
|
end
|
37
39
|
|
38
40
|
|