target browser instance

Determine if the navigate built-in action opens a new tab, a new window instance, or overwrites the currently active instance with a new URL.
Important: 
This setting is dedicated to Generic WebDriver.

  • existing: Overwrite the currently active browser instance with the new URL.
  • new window: Open the new URL in a new window instance.
  • new tab: Open the new URL in a new tab.

Default Value: existing

Suppose you have the following the scenario:

  1. Open Google Search to carry out test actions.
  2. Open Wikipedia in a new tab to carry test actions.
  3. Open Yahoo Mail in in the currently active web instance, overriding the current URL.

        
        	setting	value
setting	use browser	Chrome
&nbsp		
	setting	value
setting	webdriver mode	on
        
    
        
        	location	window	handle
navigate	https://www.google.com		
&nbsp			
	setting	value	
setting	target browser instance	new tab	
&nbsp			
	location	window	handle
navigate	https://www.wikipedia.org		
&nbsp			
	setting	value	
setting	target browser instance	existing	
&nbsp			
	location	window	handle
navigate	https://mail.yahoo.com		
        
    
  • This built-in setting only takes effect, if the window argument of the navigate built-in action is omitted.
  • If the window argument of the navigate built-in action is specified, it will choose the exact browser window upon which the URL is navigated to.
  • To support backward compatibility for your project, if necessary, you might use this built-in setting as a startup setting with a desired value.

Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400