Forum Discussion

william_roe's avatar
william_roe
Super Contributor
10 years ago

Launch Chrome in Full Screen Mode From Keyword Test

I though this would have been covered before but couldn't find it via search. How can Chrome be launched full screen via a keyword without having to press F11? I found this article which explains how to pass paramters but can figure out how to launch in full screen mode. I've found articles indicating --kiosk and --start-fullscreen but neither seem to work.

  • --start-fullscreen works for me with Chrome 46 on Windows 7. Make sure Chrome is closed before you launch it with --start-fullscreen.

     

    chrome-start-fullscreen.png

     

    If you use VBScript, the code snippet must be wrapped into Execute:

    Execute("Browsers.Item(btChrome).RunOptions = ""--start-fullscreen""")
  • HKosova's avatar
    HKosova
    SmartBear Alumni (Retired)

    --start-fullscreen works for me with Chrome 46 on Windows 7. Make sure Chrome is closed before you launch it with --start-fullscreen.

     

    chrome-start-fullscreen.png

     

    If you use VBScript, the code snippet must be wrapped into Execute:

    Execute("Browsers.Item(btChrome).RunOptions = ""--start-fullscreen""")
    • Kamal_chennai's avatar
      Kamal_chennai
      Contributor

      I misunderstood the question. Thanks for the Solution HKosova

       

      Thanks,

      Kamal

  • Hi William,

     

    We may use "Maximize" Method after Launching Chrome/IE

     

    E.g.,  Aliases.Browser.Page.Maximize()

     

    In Keyword refer Following Screen shot

     

    Maximize.JPG

     

    Thanks,

    Kamal