3 deleted 329 characters in body
source | link

You have two options:

New Tab

Use the Actions object to open a new tab. Perform a action who press and hold the ctrl key and after that press the t key. After that release all keys.

ctrl and t is the shortcut to open a new tab in the most browsers.

To switch between the tabs you use the following shortcut: ctrl and TAB.

New Window

Use the JavascriptExecutor to open a new window. The following (Java) code should work:

JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("window.open(\"www.your-url.com\")");

In both options you use just one WebDriver instance.

You have two options:

New Tab

Use the Actions object to open a new tab. Perform a action who press and hold the ctrl key and after that press the t key. After that release all keys.

ctrl and t is the shortcut to open a new tab in the most browsers.

To switch between the tabs you use the following shortcut: ctrl and TAB.

New Window

Use the JavascriptExecutor to open a new window. The following (Java) code should work:

JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("window.open(\"www.your-url.com\")");

In both options you use just one WebDriver instance.

Use the Actions object to open a new tab. Perform a action who press and hold the ctrl key and after that press the t key. After that release all keys.

ctrl and t is the shortcut to open a new tab in the most browsers.

To switch between the tabs you use the following shortcut: ctrl and TAB.

2 added 44 characters in body
source | link

You have two options:

New Tab

Use the Actions object to open a new tab. Perform a action who press and hold the ctrl key and after that press the t key. After that release all keys.

ctrl and t is the shortcut to open a new tab in the most browsers.

To switch between the tabs you use the following shortcut: ctrl and TAB.

New Window

Use the JavascriptExecutor to open a new window. Use theThe following JavaScript(Java) code to open a new windowshould work: window.open("http://www.your-url.com");

JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("window.open(\"www.your-url.com\")");

In both options you use just one WebDriver instance.

You have two options:

New Tab

Use the Actions object to open a new tab. Perform a action who press and hold the ctrl key and after that press the t key. After that release all keys.

ctrl and t is the shortcut to open a new tab in the most browsers.

To switch between the tabs you use the following shortcut: ctrl and TAB.

New Window

Use the JavascriptExecutor to open a new window. Use the following JavaScript code to open a new window: window.open("http://www.your-url.com");

In both options you use just one WebDriver instance.

You have two options:

New Tab

Use the Actions object to open a new tab. Perform a action who press and hold the ctrl key and after that press the t key. After that release all keys.

ctrl and t is the shortcut to open a new tab in the most browsers.

To switch between the tabs you use the following shortcut: ctrl and TAB.

New Window

Use the JavascriptExecutor to open a new window. The following (Java) code should work:

JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("window.open(\"www.your-url.com\")");

In both options you use just one WebDriver instance.

1
source | link

You have two options:

New Tab

Use the Actions object to open a new tab. Perform a action who press and hold the ctrl key and after that press the t key. After that release all keys.

ctrl and t is the shortcut to open a new tab in the most browsers.

To switch between the tabs you use the following shortcut: ctrl and TAB.

New Window

Use the JavascriptExecutor to open a new window. Use the following JavaScript code to open a new window: window.open("http://www.your-url.com");

In both options you use just one WebDriver instance.