How to use existing chromium profile for ferrum?

1 week ago 12
ARTICLE AD BOX

I have setup chromium profile and wish to use that with ruby ferrum library. I copied complete configurations directory into /tmp and passed browser switched, but profile extensions seems to not work. Currently ferrum executes the browser with this command:

/usr/local/bin/chrome \ --headless \ --hide-scrollbars \ --mute-audio \ --enable-automation \ --disable-web-security \ --disable-session-crashed-bubble \ --disable-breakpad \ --disable-sync \ --no-first-run \ --use-mock-keychain \ --keep-alive-for-test \ --disable-popup-blocking \ --disable-component-extensions-with-background-pages \ --disable-hang-monitor \ --disable-features=site-per-process,IsolateOrigins,TranslateUI \ --disable-translate \ --disable-background-networking \ --enable-features=NetworkService,NetworkServiceInProcess \ --disable-background-timer-throttling \ --disable-backgrounding-occluded-windows \ --disable-client-side-phishing-detection \ --disable-default-apps \ --disable-dev-shm-usage \ --disable-ipc-flooding-protection \ --disable-prompt-on-repost \ --disable-renderer-backgrounding \ --disable-site-isolation-trials \ --force-color-profile=srgb \ --metrics-recording-only \ --safebrowsing-disable-auto-update \ --password-store=basic \ --no-startup-window \ --remote-allow-origins=* \ --disable-blink-features=AutomationControlled \ --remote-debugging-port=0 \ --remote-debugging-address=127.0.0.1 \ --window-size=1366,768 \ --user-data-dir=/tmp/chromium \ --profile-directory=Default
Read Entire Article