Was this page helpful?

Execute Chrome with command line arguments - 7.6.0R110 or later

    Description

    From Robot / NTBR v7.6.0R110 and on, it is possible to execute Chome with arguments using SetOption() function in a RIA environment scenario.

    Syntax

    Bool SetOption(Option as String, ParamStr as String, ParamInt as Int)

    Parameter(s)

    Option - "CHROME_STARTUP_ARGS"

    ParamStr - Chrome command line arguments (cf. example)

    ParamInt - 0 (default value)

    Return value

    TRUE if option is correctly set, otherwise FALSE

    Example(s)

    Start Chrome maximized, regardless of any previous settings:

    reference to undefined name 'syntax' Une exception de type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' a été levée. (click for details)

    Start Chrome maximized and activate #Allow-insecure-localhost flag:

    reference to undefined name 'syntax' Une exception de type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' a été levée. (click for details)

    See also

    List of Chromium Command Line Switches(non-official doc) :

    http://peter.sh/experiments/chromium...line-switches/

    Was this page helpful?
    Tag page (Edit tags)
    • No tags
    Pages that link here
    Page statistics
    5083 view(s), 12 edit(s) and 1614 character(s)

    Comments

    You must login to post a comment.

    Attach file

    Attachments