percy-selenium 1.1.0.pre.beta.1 → 1.1.0.pre.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/percy.rb +2 -1
- data/lib/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: 93874c7ca2563a5bcc985ab857035658b57dade066310c6a059f6b0c545836bf
|
4
|
+
data.tar.gz: fb3ee7e5c65d28c29da169febd33eba48d4f4b52987aa1af4709ebb2479b50d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c3181f97b40acc391064ab3795a5708fb332f6725dbfdfc67dc84f836658cc151ad12550fd27acccdc7a57fc03109780ab8cd7742ae3975cecae06e1f98816c
|
7
|
+
data.tar.gz: c942d7b712fe9af71edc61b07f883a1978546377cbbe52b7d73d81caad4b286b5af61fbc3579fdfb89b26487953259fe4dffd2a9cc08ee7bda1007ca5e1f98ce
|
data/lib/percy.rb
CHANGED
@@ -46,7 +46,8 @@ module Percy
|
|
46
46
|
end
|
47
47
|
|
48
48
|
def self.get_browser_instance(driver)
|
49
|
-
|
49
|
+
# this means it is a capybara session
|
50
|
+
if driver.respond_to?(:driver) && driver.driver.respond_to?(:browser)
|
50
51
|
return driver.driver.browser.manage
|
51
52
|
end
|
52
53
|
|
data/lib/version.rb
CHANGED