Is it possible to configure watir webdriver use an existing chrome user/profile
(created by chrome.exe --user-data-dir=C:\MyChromeUserProfile)
In Firefox it's possible to do the following:
(created a user profile with firefox -P) profile = Selenium::WebDriver::Firefox::Profile.new(c://MyFFUserProfile)
Watir::Browser.new :ff, :profile => profile
For Chrome, I tried the following code to no avail:
Watir::Browser.new :chrome, :switches => %w['--user-data-dir=c://MyChromeUserProfile']
While this opens a chrome session, it does not use the user's profile settings (Specifically an extension that was installed and configured, like Multi-pass for HTTP basic authentication).
By the way this is a similar workaround but for chrome that I am trying to implement like the one listed for Firefox and auto auth posted on http://watirwebdriver.com/basic-browser-authentication/)