montagejs / screening

49 stars 16 forks source link

Screening should support both chrome extension packed as well as unpacked. #285

Open ckn476 opened 12 years ago

ckn476 commented 12 years ago

Screening should support both chrome extension packed as well as unpacked.

irinamok commented 12 years ago

Screening team,

I wonder if loading chrome with user profile would solve this issue:

DesiredCapabilities capabilities = DesiredCapabilities.chrome();

capabilities.setCapability("chrome.switches", Arrays.asList("--user-data-dir=/path/to/profile/directory"));

WebDriver driver = new ChromeDriver(capabilities);

List of all Chrome capability flags: http://peter.sh/experiments/chromium-command-line-switches/

Thoughts?

Thanks!