angular - Protractor - how to set chrome://flags/ when running tests -
my integration tests benefit flag set in chrome://flags
- #enable-asm-webassembly. when tests run don't use own user preferences flag unset. there way set these?
https://sites.google.com/a/chromium.org/chromedriver/capabilities
capabilities: { 'browsername': 'chrome', 'chromeoptions': { 'args': ['start-minimized', 'window-size=1920,1080'], 'localstate': { "browser": { "enabled_labs_experiments": ["enable-asm-webassembly@1"] } } } }
you can understand dictionary structure changing flags , see how getting reflected in localstate file. configuration stored chrome under appdata\local\google\chrome\user data\local state
Comments
Post a Comment