oct-automation-utilities 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/oct-automation-utilities.rb +5 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a0790b6ff521d351847e75d7da6a009e7a20b85
|
4
|
+
data.tar.gz: e03755c7f18396811b72639123341d4cfa846647
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13d73b0efcce1e9640c058099feaeaffded75bf2268fa8a241f1d89e5c9525451f05a871175c5405fa15916f5a156f9d1552fbdfa7b880d09884920033bf63eb
|
7
|
+
data.tar.gz: 520c63f491dba972a7b45baff6b8c75ca4dd6338f8ab9f2425d8d48230593e4037b73dd3158215b37f45765666d85111e98ccba1a6ffa05e9dbc51dfe2efb051
|
@@ -137,8 +137,11 @@ module OctAutomationUtilities
|
|
137
137
|
end
|
138
138
|
|
139
139
|
def close_current_window
|
140
|
-
|
141
|
-
page.
|
140
|
+
secondwindow = windows[page.driver.browser.window_handles.length - 1]
|
141
|
+
page.switch_to_window(window[0])
|
142
|
+
within_window(secondwindow) do
|
143
|
+
page.current_window.close
|
144
|
+
end
|
142
145
|
end
|
143
146
|
|
144
147
|
def close_all_windows
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oct-automation-utilities
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Tracy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Utilities class that performs common automation functionality that can
|
14
14
|
be used over multiple projects
|