itms_automation 2.7.7 → 2.7.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/itms_automation/methods/input_methods.rb +3 -3
- data/lib/itms_automation/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: a9a80eb61adf086ed5ab5c7b65a660fc5d1af18e0d118a6c17e7eb648999adae
|
4
|
+
data.tar.gz: b6516a0a679a7578c3dd33890bdf1b0c9dac3aa78a06e0e60c51cecb1e5fa377
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3eb6b66722fae75c5aa594c8e218bba0066dd5636199b53e9db3f8db03b10a9b366028dec66aaec5c7ffb4b1a73ee8cc81df0769a3b08d06d1e4e8c8552a272b
|
7
|
+
data.tar.gz: e05a4c6723985b02496df8aea09736337a6675948288ff5d8b0cbe479904034857d161c60f8dfbcd3c89f40695cccf8b68f6ed6b4b4544ca439ac12992afd3ad
|
@@ -76,17 +76,17 @@ def edit_content(element, text)
|
|
76
76
|
$driver.execute_script("if (arguments[0].contentEditable === 'true') {arguments[0].innerText = '#{text}'}", found_element)
|
77
77
|
end
|
78
78
|
|
79
|
-
def add_selection(label)
|
79
|
+
def add_selection(element, label)
|
80
80
|
found_element = find_object(element)
|
81
81
|
found_element.find_element(:xpath, "//option[. = '#{label}']").click
|
82
82
|
end
|
83
83
|
|
84
|
-
def remove_selection
|
84
|
+
def remove_selection(element, label)
|
85
85
|
found_element = find_object(element)
|
86
86
|
found_element.find_element(:xpath, "//option[. = '#{label}']").click
|
87
87
|
end
|
88
88
|
|
89
|
-
def select
|
89
|
+
def select(element)
|
90
90
|
found_element = find_object(element)
|
91
91
|
found_element.find_element(:xpath, "//option[. = '#{label}']").click
|
92
92
|
end
|