stealth_browser_automation 0.0.8 → 0.0.9
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/lib/browserfactory.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e204042b260fd79a5b8bdb27b02073da68a297b0
|
4
|
+
data.tar.gz: f4722205ec765082e6ce97c7b69f4859fd055d93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a7523433e4665fc72c4cffb0d8b6d4790a5c9e893e19505181163b6ab2177e4ab34b3a064af123112492e15a13c1e52ac3d8226a34e9131c228c274ea345134
|
7
|
+
data.tar.gz: 27785adf88cb6b6c2a8b5533c60d86dac9821661b68f267499634aa730a698b2e40c39732a935a82f88cf0e5ca98dd3d3f2e0bc8c1a071e5f3f5e52866039939
|
data/lib/browserfactory.rb
CHANGED
@@ -426,19 +426,19 @@ module BlackStack
|
|
426
426
|
if (profile_name!=nil)
|
427
427
|
|
428
428
|
# issue #964
|
429
|
-
filename = "
|
429
|
+
filename = "chrome_profiles/#{profile_name}/#{profile_name}/Default/Preferences"
|
430
430
|
if ( File.file?(filename) == true )
|
431
431
|
File.delete(filename)
|
432
432
|
end
|
433
433
|
|
434
434
|
# issue #964
|
435
|
-
filename = "
|
435
|
+
filename = "chrome_profiles/#{profile_name}/#{profile_name}/Local State"
|
436
436
|
if ( File.file?(filename) == true )
|
437
437
|
File.delete(filename)
|
438
438
|
end
|
439
439
|
|
440
440
|
# configuro el browser para que use este perfil
|
441
|
-
switches += ["--user-data-dir
|
441
|
+
switches += ["--user-data-dir=chrome_profiles/#{profile_name}/#{profile_name}"]
|
442
442
|
|
443
443
|
end
|
444
444
|
|