Need the ability to pass " --disable-print-preview" to WebAii launcher of Chrome

4 posts, 1 answers
  1. Steve
    Steve avatar
    35 posts
    Member since:
    Jan 2011

    Posted 09 Oct 2014 Link to this post

    I need to disable the lovely Chrome Print Preview, and it appears the only way to do it is to call "Chrome.exe --disable-print-preview" but since you guys are calling chrome.exe, and the overload of LaunchNewBrowser with which you can pass arguments doesn't actually pass the arguments - have you a better way to shut this dumb chrome feature off? 
  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 14 Oct 2014 Link to this post

    Hello Steve,

    Thank you for contacting us.

    Unfortunately there is no way to pass arguments to Chrome via Test Studio.

    We start Chrome with the following flags:

    -new-window 
    -home-page 
    --allow-running-insecure-content 
    --disable-web-security

    Thank you for your understanding.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. Steve
    Steve avatar
    35 posts
    Member since:
    Jan 2011

    Posted 14 Oct 2014 in reply to Boyan Boev Link to this post

    Can you add this as a feature request?  Perhaps as part of the Settings class or something...
  4. Answer
    Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 14 Oct 2014 Link to this post

    Hello Steve,

    We have already logged a feature request regarding this matter.

    You can track and vote for it here.

    Thank you for your feedback.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top