itms_automation 1.2 → 1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 897907ab0ff6c78bcae35d678aa285987350c11426f5a8811ac03402656255e2
4
- data.tar.gz: c01b97b08442ea253d20a306a313ed19742a6d859a756f827a194144bb2754f0
3
+ metadata.gz: 389932c513215d5759f3287e04b0949baef5bf95e59f6781092fb88c67527b02
4
+ data.tar.gz: 1b51485f8e19ecbd74e1d95c4be1623cba42ea85a7e1a3abb2ab8a3d8b8c3ee3
5
5
  SHA512:
6
- metadata.gz: 6b0b55e6700794b6457785b8b362d7c2996ac0c58f013b7af1edd8de8a1b32258701f8a8805712f3caf534fe64211ce52220c8236a35d9039fa8646d4f09ddf9
7
- data.tar.gz: 0a01a6f5818f2b5c19d734bbb9965c2e7249999a36e63d02d4ba09a8eeafc1b62f9d9b56a84caed0b8e5a139189e0a7f7e033a3f80784732b3692fa01cf133af
6
+ metadata.gz: fd720cbe39326f3ebbc545dedd8ee85a956b6854fbd0a8d7fc8a1403489066557912c61b78116e9cf583b31017225de55b555c3250e6b77bf1bcd7a9504f14d5
7
+ data.tar.gz: d409364a58b319109cecb604accc7a37f179c3a87168775d1f7d251636c223b33e3404bcd188c0f9e9a05de85d34e3b3c2a987cc970677d9af243543a24e7c65
@@ -1,3 +1,3 @@
1
1
  module ItmsAutomation
2
- VERSION = "1.2"
2
+ VERSION = "1.3"
3
3
  end
@@ -173,7 +173,7 @@ def execute_select(element, option)
173
173
  foundElement = find_object(element)
174
174
  if foundElement != nil
175
175
  begin
176
- Selenium::WebDriver::Support::Select.new(page.driver.browser.find_element(:xpath, "#{element}")).select_by(:text, "#{option}")
176
+ foundElement.find('option', text: option).select_option
177
177
  rescue Exception => e
178
178
  raise "❌ ERROR: #{e}"
179
179
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itms_automation
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.2'
4
+ version: '1.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anh Pham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-27 00:00:00.000000000 Z
11
+ date: 2020-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver