Forum Discussion

autotester36's avatar
autotester36
New Contributor
4 years ago
Solved

Navigating to test URL when company has preset home page

We run our tests against the Edge browser. My company has Edge preset to open to the company news page and we are unable to change the setting to open to a blank page as recommended in the Preparing ...
  • autotester36's avatar
    autotester36
    4 years ago

    Hi Marsha,

     

    Thank you for your reply. It's an in house application.

     

    In addition to asking the question here, I had submitted a ticket with SmartBear and they were able to provide me with a script that allows you to pass the URL as a command line argument to the browser.  This is currently working for us in legacy Edge:

     

     Browsers.Item(browserName).RunOptions = "url" 

     Browsers.Item(browserName).Run();

     

    The following is expected to work with Chromium Edge:

    Browsers.Item(browserName).RunOptions = "--homepage url"
    Browsers.Item(browserName).Run();