watir 6.2.0 → 6.2.1

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
  SHA1:
3
- metadata.gz: c7a75c3cb00c09caec743b797d7b5590fc81938c
4
- data.tar.gz: a0d2f54bca3c49c1b9c893e0f767f3015f4b00e4
3
+ metadata.gz: dfb993f1f8e46cb5a58c37e008c476050814ac65
4
+ data.tar.gz: db6967abba308be2cdd3fcd140e6063222a7db07
5
5
  SHA512:
6
- metadata.gz: 3600748e11ba3740795eb9d80292d4b71ed0fa2798806f27c9e2a2fcf97308a4024fb231a36ba91e2a58de50852ede60b152d51449b97f754276e316d2a8f525
7
- data.tar.gz: ca859e2face12ccdfa90cd4935a00b196ef6b8f4555e28f71f1abaffd6f054416a7d5f8d49c218eb9635e4ab936657c0aee080f9b9948bdadcf1375070c088d7
6
+ metadata.gz: baa72d6022e1af45db9183ce4582913264ecfa6b9519db23f7bebc418404312b1581d695064b119abc6ec9d58791bb607072e0591a8fe883d9afd79754286d94
7
+ data.tar.gz: 8676c1791eac366796f1c471171b97cb7b6bc62607bc34cfb4daa08e6b4ccd2aa0cbeaf959b297ca10ba7983844cbacf44c38a00f142165a303c6c22e0c58362
data/CHANGES.md CHANGED
@@ -1,3 +1,9 @@
1
+ ### 6.2.1 (2017-03-22)
2
+
3
+ * Allow sending text to FileField without checking element is #visible?
4
+ * Fix bug waiting for Alerts
5
+ * Fix bug from resetting stale element (thanks DJCecil2)
6
+
1
7
  ### 6.2.0 (2017-02-20)
2
8
 
3
9
  * `Element#wait_while_present` exits when locator no longer matches
data/lib/watir/alert.rb CHANGED
@@ -104,7 +104,7 @@ module Watir
104
104
  return assert_exists unless Watir.relaxed_locate?
105
105
 
106
106
  begin
107
- wait_until(&:exists?)
107
+ wait_until(message: "waiting for alert", &:exists?)
108
108
  rescue Wait::TimeoutError
109
109
  unless Watir.default_timeout == 0
110
110
  message = "This code has slept for the duration of the default timeout "
@@ -544,7 +544,7 @@ module Watir
544
544
  def assert_exists
545
545
  if @element && @selector.empty?
546
546
  ensure_context
547
- @element.reset! if stale?
547
+ reset! if stale?
548
548
  elsif @element && !stale?
549
549
  return
550
550
  else
@@ -21,7 +21,7 @@ module Watir
21
21
 
22
22
  def value=(path)
23
23
  path = path.gsub(File::SEPARATOR, File::ALT_SEPARATOR) if File::ALT_SEPARATOR
24
- send_keys path
24
+ element_call { @element.send_keys path }
25
25
  end
26
26
 
27
27
  end # FileField
data/watir.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'watir'
5
- s.version = '6.2.0'
5
+ s.version = '6.2.1'
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.authors = ['Alex Rodionov', 'Titus Fortner']
8
8
  s.email = ['p0deje@gmail.com', 'titusfortner@gmail.com']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watir
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.2.0
4
+ version: 6.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Rodionov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-02-20 00:00:00.000000000 Z
12
+ date: 2017-03-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: selenium-webdriver
@@ -467,7 +467,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
467
467
  version: '0'
468
468
  requirements: []
469
469
  rubyforge_project: watir
470
- rubygems_version: 2.6.8
470
+ rubygems_version: 2.5.2
471
471
  signing_key:
472
472
  specification_version: 4
473
473
  summary: Watir powered by Selenium