seo_cache 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/seo_cache/page_render.rb +8 -15
- data/lib/seo_cache/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: 612bb7e5cfe82ac49b35bc86915082f054c9e4dbe91bc2b664038de965d1f07e
|
4
|
+
data.tar.gz: ca1dcfcff1cfa0fb9bcf8dc4ec6d3edc0660c2965fc9c9276c01581638271a27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69904412e9083c552ae777c266b960e0d5295fc3536d4f85da90ad47bcb77349e2a6c53be9e4dc9eb0ee8602dc121841974205e1480a15347ed5798a8c781bd9
|
7
|
+
data.tar.gz: 205c8bc45ac28e7969342b5a495530557a1020762969c7fed49cea7bc3bbdf8126fe02866d8eef4f43267753886ee51ac1080aded6e50df4ed8ae946234f2ec3
|
data/CHANGELOG.md
CHANGED
@@ -33,21 +33,14 @@ module SeoCache
|
|
33
33
|
|
34
34
|
Selenium::WebDriver::Chrome.path = SeoCache.chrome_path if SeoCache.chrome_path
|
35
35
|
|
36
|
-
browser_options =
|
37
|
-
browser_options
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
browser_options.args << '--disable-extensions'
|
45
|
-
browser_options.args << '--disable-logging'
|
46
|
-
browser_options.args << '--disable-notifications'
|
47
|
-
browser_options.args << '--disable-sync'
|
48
|
-
browser_options.args << '--window-size=1920x1080'
|
49
|
-
browser_options.args << "--remote-debugging-port=#{SeoCache.chrome_debugging_port}" if SeoCache.chrome_debugging_port
|
50
|
-
@driver = ::Selenium::WebDriver.for(:chrome, options: browser_options)
|
36
|
+
browser_options = %w[headless incognito disable-gpu disable-infobars disable-dev-shm-usage disable-gpu disable-web-security disable-extensions no-sandbox disable-logging disable-notifications disable-sync window-size=1920x1080]
|
37
|
+
browser_options << "remote-debugging-port=#{SeoCache.chrome_debugging_port}" if SeoCache.chrome_debugging_port
|
38
|
+
@driver = ::Selenium::WebDriver.for(
|
39
|
+
:chrome,
|
40
|
+
capabilities: [Selenium::WebDriver::Chrome::Options.new(
|
41
|
+
args: browser_options
|
42
|
+
)]
|
43
|
+
)
|
51
44
|
end
|
52
45
|
end
|
53
46
|
end
|
data/lib/seo_cache/version.rb
CHANGED