tanakai 1.7.4 → 1.7.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/CHANGELOG.md +4 -0
- data/lib/tanakai/browser_builder/selenium_firefox_builder.rb +7 -0
- data/lib/tanakai/version.rb +1 -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: e512bd4db8377bf635f22adabd12718d8f503a1f336d6ed37cfd9a2b64e33a58
|
4
|
+
data.tar.gz: 2a7a32f5ea111cd4a6503c7893ff39a13f4a79f994484f5ec2d6dd233ed8378d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53840bc1680bcc9fc6755143ef3de9664c4f46db855361081d12212ec3b57502d965de958ec08a78f637e7ea8ac072af57a9906dce000ec554a1761acd98f470
|
7
|
+
data.tar.gz: f9be095210a1e9e7bae173b7a1fa27e21fafa70c8ce27daf5f2f48a77a554c07ade94d5d52e8835fcb1e8e4c3c4a2e162bf3367cec8fe66be8a2b1845321ef09
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
## Next
|
4
4
|
* Your contribution here
|
5
5
|
|
6
|
+
## 1.7.5
|
7
|
+
### New
|
8
|
+
* [#16](https://github.com/glaucocustodio/tanakai/pull/16): Add profiles to selenium_firefox engine - [juampe](https://github.com/juampe)
|
9
|
+
|
6
10
|
## 1.7.4
|
7
11
|
### Fixes
|
8
12
|
* [#13](https://github.com/glaucocustodio/tanakai/pull/13): Add csv to the gemspec / remove unused `create_browser` method - [n-at-han-k](https://github.com/n-at-han-k)
|
@@ -27,6 +27,13 @@ module Tanakai::BrowserBuilder
|
|
27
27
|
driver_options.profile["browser.link.open_newwindow"] = 3 # open windows in tabs
|
28
28
|
driver_options.profile["media.peerconnection.enabled"] = false # disable web rtc
|
29
29
|
|
30
|
+
# Profile
|
31
|
+
if @config[:profile].present?
|
32
|
+
@config[:profile].each do |key, value|
|
33
|
+
driver_options.profile[key] = value
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
30
37
|
# Proxy
|
31
38
|
if proxy = @config[:proxy].presence
|
32
39
|
proxy_string = (proxy.class == Proc ? proxy.call : proxy).strip
|
data/lib/tanakai/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tanakai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Afanasev
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2025-02-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|