chrome-bookMarks | chrome书签管理插件 | Browser Plugin library
kandi X-RAY | chrome-bookMarks Summary
kandi X-RAY | chrome-bookMarks Summary
chrome书签管理插件
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of chrome-bookMarks
chrome-bookMarks Key Features
chrome-bookMarks Examples and Code Snippets
Community Discussions
Trending Discussions on chrome-bookMarks
QUESTION
I am trying to open up a selenium browser with sync option enabled. Either I specify --used-data-dir
(having all the cookies and extensions from my google account loaded on selenium) or I don't, it stills won't allow me to sync. A way to check if the browser is allowed to sync is to go to settings -> people. If the browser is syncing a Sync on label/option must exist under your account name. If the browser is not syncing then this option is not there, and so you cannot change it.
I have also tried changing the chrome policy DisableSync globally from the registry edit
as specified here, but still, selenium won't sync (even if in chrome://policy/ the SyncDisabled policy is set to false).
Won't sync means that if e.g. I add/change a password from a site, the new password won't be stored in my account's cookies, which is basically my objective. Just to clarify, when I open chrome normally (not selenium) then, of course, the sync option is available.
So, my question I guess is how I can open chrome through selenium having the sync option enabled?
...ANSWER
Answered 2018-Jul-31 at 12:32I finally found a solution. So when you start chrome through selenium, even if you are not specifying the --disable-sync argument, it specifies it itself. In other words, visiting chrome://version in a newly generated selenium browser on the list of command lines there is the --disable-sync
argument. So basically I first excluded it like so:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install chrome-bookMarks
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page