tlopo-selenium-docker 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tlopo/selenium_docker/version.rb +1 -1
- data/lib/tlopo/selenium_docker.rb +8 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bae1f77fc2a5526c95012e587e06871f9d76e59dbd4792b77cee859ef08f0a61
|
4
|
+
data.tar.gz: 241056f63628cbc490163bcce6e3b031ea8dfcbf511ae1934160580feac5f5ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 775e76d33ac46ff3bc95213659e6ee145dbd4fde85c13068d3eeaf35df135a26beeab206ae722a7ae578ff6ce065e406185291c351ce83733a243463aa39add8
|
7
|
+
data.tar.gz: 9d66b8b01064c6edc76212eacd441f8bf24ce98ac67c0e50ea96d0cbf1d26ae835ca1802b8c3f77840e62a7341abf5a86cc75f208d6e01d50553b2a2f423fc65
|
@@ -29,10 +29,17 @@ module Tlopo
|
|
29
29
|
start
|
30
30
|
yield driver
|
31
31
|
ensure
|
32
|
-
driver.quit
|
32
|
+
best_effort { driver.quit }
|
33
33
|
stop
|
34
34
|
end
|
35
35
|
|
36
|
+
def best_effort
|
37
|
+
begin
|
38
|
+
yield
|
39
|
+
rescue
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
36
43
|
def gen_short_id
|
37
44
|
Zlib.crc32(Time.now.strftime("%s.%N")).to_s(36)
|
38
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tlopo-selenium-docker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tlopo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tlopo-futex
|