Hi,
My application needs to interact with new browser in the middle of the flow and then control should come back to the initial one.
i.e. existing Chrome window should remain open and when new window is opened, get a value and control should come back to the initial window.
I tried opening another window using the below code it is being loaded in the same window which is already open instead of a new window.
private Desktop desktop02= new Desktop();
String browser ="IE";
String url="www.google.com";
if (browser.equalsIgnoreCase("IE")) {
BrowserBaseState baseState02 = new BrowserBaseState(BrowserType.GoogleChrome, url);
baseState02 .execute(desktop02);
}
Appreciate your help in solving this.
-Alice