how can i set chrome startup switches / command line flags

robert.vos's Avatar


08 Apr, 2012 07:22 PM

  1. Support Staff 1 Posted by Andrew on 10 Apr, 2012 11:40 AM

    Andrew's Avatar

    Hi Robert,

    Unfortunately, this isn't currently possible. Which command line flag would you like to set?

  2. 2 Posted by robert.vos on 10 Apr, 2012 01:45 PM

    robert.vos's Avatar

    This one :
    --allow-file-access-from-files in order to test with local files and local javascript. And :

    Chrome blocks local file access by default. Firefox doesn't.

  3. 3 Posted by robert.vos on 10 Apr, 2012 01:59 PM

    robert.vos's Avatar

    And this one: --profile-directory="Profile 2"
    With this setting you can select a chrome profile and use a special Chrome instance dedicated for testing and configured with the above switches.
    See also :

  4. Support Staff 4 Posted by Andrew on 10 Apr, 2012 03:21 PM

    Andrew's Avatar

    Well, here's a little bit of info that might help:

    The Chrome embedded in Stylizer is completely independent of whatever Chrome you have installed in your system. It does not launch Chrome as a separate process; rather, it is embedded directly within the Stylizer application.

    The profile directory, cache, passwords, etc are all separate from your standalone Chrome installation, and stored in a temporary folder which is reset upon each run of the program. You can't specify these folders, but they don't persist anyway, so it wouldn't be much use.

    The effects of the "disable-web-security" flag are already enabled by default in Stylizer. There should be no need to use this flag.

    I suppose the "--allow-file-access-from-files" option could come in handy and so I've opened an issue for it. :-)

  5. 5 Posted by robert.vos on 10 Apr, 2012 03:35 PM

    robert.vos's Avatar

    Thank you. You are right, only "--allow-file-access-from-files" is necessary.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac