18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Not able to open new browser,if one browser already open using sahi

sandeepgautam43sandeepgautam43 Members
edited November -1 in Sahi - Open Source
1.Want to open new browser using sahi script ,if one browser is already open.

i see many post but no one is working for me..

Comments

  • Hi sandeepgautam43,

    Can you let me know what browser you are using and what are the steps you have followed?

    Also, please be more specific.

    Regards
    Sumitra
  • Sumitra,

    i m using Chrome.


    _call(window.open(yahooURL, "MyWindowName"));-- Opens multiple Sahi Controller and one new browser.

    browser = new Browser(browserPath, browserProcessName, browserOption);
    browser.open(); ---not working for me.
  • Hi Sandeep Gautam,

    Let me know In which java/javascript code you have written in sahi code.

    If you have written in java,Try to following code

    Browser browser;
    browser = new Browser("ie"); // Mention browser name Whatever browser you want open
    browser.open();

    Regards,
    Azhaguvel.A
  • i just copied the script from blog and done some changes.

    if you have any other script or suggestion.please write in this post.....
Sign In or Register to comment.