Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP][docs] Add a note about browser extensions #1781

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ testcafe [options] <browser-list-comma-separated> <file-or-glob ...>
> Inactive tabs and minimized browser windows switch to a lower resource consumption mode
> where tests are not guaranteed to execute correctly.

Browser extensions can interfere with test execution. If you encounter an unexpected error, try disabling your browser's extensions.

## Browser List

The `browser-list-comma-separated` argument specifies the list of browsers (separated by commas) where tests will be run.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ runner
});
```

> Important! Make sure to keep the browser tab that is running tests active. Do not minimize the browser window.
> Inactive tabs and minimized browser windows switch to a lower resource consumption mode
> where tests are not guaranteed to execute correctly.

Browser extensions can interfere with test execution. If you encounter an unexpected error, try disabling your browser's extensions.

For details, see the reference topics below.

----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,6 @@ Runs tests according to the current configuration. Returns the number of failed
async run(options) → Promise<Number>
```

> Important! Make sure to keep the browser tab that is running tests active. Do not minimize the browser window.
> Inactive tabs and minimized browser windows switch to a lower resource consumption mode
> where tests are not guaranteed to execute correctly.

You can pass the following options to the `runner.run` function.

Parameter | Type | Description | Default
Expand Down