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

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -