testcentricity_web 0.9.9.4 → 0.9.9.5
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/testcentricity_web/version.rb +1 -1
- data/lib/testcentricity_web/webdriver_helper.rb +9 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9927fa32621782fdd4799932c7fb4439cc79a9f
|
4
|
+
data.tar.gz: ac91d1ca671d5ba82e3fcd992c463cfbb5faaa26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dc67a9c569ebcb35a02203a5133e10f691e6e51f50d0acb82f5e1a64be4a1d4e6dbf832800767c1b89b493221e517416a1930690c95f07d9c21314e00972c1f
|
7
|
+
data.tar.gz: 109beb8f32a52acbfd205abba607b84cd1bd9bbfc7cbfa91ebff2792e4c4dad225c7864cabba68ddd6ea316eda43cfca213cb5ca016c39d742271cbaad2e8976
|
@@ -18,28 +18,36 @@ module TestCentricity
|
|
18
18
|
case browser.downcase.to_sym
|
19
19
|
when :appium
|
20
20
|
initialize_appium
|
21
|
+
context = 'mobile device emulator'
|
21
22
|
when :browserstack
|
22
23
|
initialize_browserstack
|
24
|
+
context = 'Browserstack cloud service'
|
23
25
|
when :crossbrowser
|
24
26
|
initialize_crossbrowser
|
27
|
+
context = 'CrossBrowserTesting cloud service'
|
25
28
|
when :poltergeist
|
26
29
|
initialize_poltergeist
|
30
|
+
context = 'PhantomJS'
|
27
31
|
when :saucelabs
|
28
32
|
initialize_saucelabs
|
33
|
+
context = 'Sauce Labs cloud service'
|
29
34
|
when :testingbot
|
30
35
|
initialize_testingbot
|
36
|
+
context = 'TestingBot cloud service'
|
31
37
|
else
|
32
38
|
if ENV["SELENIUM"] == 'remote'
|
33
39
|
initialize_remote
|
40
|
+
context = 'Selenium Grid2'
|
34
41
|
else
|
35
42
|
initialize_local_browser
|
43
|
+
context = 'local instance'
|
36
44
|
end
|
37
45
|
end
|
38
46
|
|
39
47
|
# set browser window size only if testing with a desktop web browser
|
40
48
|
initialize_browser_size unless Capybara.current_driver == :poltergeist || Capybara.current_driver == :appium
|
41
49
|
|
42
|
-
puts "Using #{Environ.browser.to_s} browser"
|
50
|
+
puts "Using #{Environ.browser.to_s} browser via #{context}"
|
43
51
|
end
|
44
52
|
|
45
53
|
def self.set_domain(url)
|