Skip to content

Commit

Permalink
[docs] Remove beta mentions for multiple browser windows (#5947)
Browse files Browse the repository at this point in the history
* Remove all beta mentions for multiple browser windows
  • Loading branch information
DIRECTcut authored Feb 15, 2021
1 parent 108e9bd commit 9ab6679
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@ permalink: /documentation/guides/advanced-guides/multiple-browser-windows.html

The TestCafe API includes methods that open, close, and switch between browser windows. You can test websites with pop-up windows and OAuth login forms, debug complex multi-window applications, or run multiple instances of the same web app side-by-side.

⚠ This is a **beta** feature. Browser support is limited to local instances of Chrome and Firefox. You can resize child windows or make screenshots of them in Chrome only. You cannot record videos of child windows. The available functionality is subject to further revisions. Please do not use this feature in production environments.

️🛠️ You can disable support for multiple browser windows if you encounter compatibility issues with your tests. Use one of the following settings:

* the [--disable-multiple-windows](../../reference/command-line-interface.md#--disable-multiple-windows) command line flag,
* the `disableMultipleWindows` [runner.run](../../reference/testcafe-api/runner/run.md) option,
* the [disableMultipleWindows](../../reference/configuration-file.md#disablemultiplewindows) configuration file property.

## Automatic Switch to New Windows

When your page launches a new window, the test automatically continues in the newly opened window. When that window is closed, the test switches back to its parent.
Expand Down Expand Up @@ -163,6 +155,14 @@ test('Close a specific window', async t => {
});
```

## Disable Support for Multiple Windows

Use one of the following settings to disable support for multiple browser windows:

* the [--disable-multiple-windows](../../reference/command-line-interface.md#--disable-multiple-windows) command line flag,
* the `disableMultipleWindows` [runner.run](../../reference/testcafe-api/runner/run.md) option,
* the [disableMultipleWindows](../../reference/configuration-file.md#disablemultiplewindows) configuration file property.

## Limitations

This section describes the limitations of multiple browser windows testing in TestCafe.
Expand Down

0 comments on commit 9ab6679

Please sign in to comment.