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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 651a7706a2103d7a37793b8e01e58146eb267a58ec685b1db345646f73b9affc
4
- data.tar.gz: 381b7cc09df24c42f991e60b6e67f58b2530995e5c0d00000760c565dbc2da17
3
+ metadata.gz: e512bd4db8377bf635f22adabd12718d8f503a1f336d6ed37cfd9a2b64e33a58
4
+ data.tar.gz: 2a7a32f5ea111cd4a6503c7893ff39a13f4a79f994484f5ec2d6dd233ed8378d
5
5
  SHA512:
6
- metadata.gz: c52d177b483a590edc85f20b937f0807b8f278cf2eba98c261a10d56528e9fc72332418dd8861fdbb6001595d708f23b9750873ea7e777aab87a944080f975b6
7
- data.tar.gz: 2748f9080efe6f4a3bf36c9c6f37900981cfbfedfee5083490ffa9e1ad626b8e2cef988ef2bb44da526789db80061ffe5acca480b8348aa17b1dd9d2ab78f3dd
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
@@ -1,3 +1,3 @@
1
1
  module Tanakai
2
- VERSION = "1.7.4"
2
+ VERSION = "1.7.5"
3
3
  end
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
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: 2024-09-30 00:00:00.000000000 Z
12
+ date: 2025-02-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor