Skip to content

Commit

Permalink
Merge branch 'main' into dans-so-sc
Browse files Browse the repository at this point in the history
  • Loading branch information
waggledans authored Oct 2, 2024
2 parents 8a38ea3 + f663969 commit 7df8db5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Setting a Custom Firefox Profile

If you ever have the need to mock video streams, such as a webcam, the browser
needs to be configured accordingly. Firefox does not provide a browser arg to
enable all flags necessary—they have to be set via the profile settings.

[This example](https://github.com/saucelabs/saucectl-testcafe-example/tree/main/examples/browser_profile)
illustrates how you can configure saucectl to make use of an existing
preconfigured browser profile.
4 changes: 3 additions & 1 deletion docs/web-apps/automated-testing/testcafe/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import useBaseUrl from '@docusaurus/useBaseUrl';
import Advanced, {toc as AdvancedTOC} from '../\_partials/\_advanced.md';
import AdvancedTestCafe, {toc as AdvancedTestCafeTOC} from '../\_partials/\_advanced-testcafe.md';
import AdvancedNodejs, {toc as AdvancedNodejsTOC} from '../\_partials/\_advanced-nodejs.md';

<AdvancedNodejs />
<Advanced />
<AdvancedTestCafe />

<!-- Using partials breaks table of contents. Using this workaround to get it working again. -->

export const toc = [...AdvancedNodejsTOC, ...AdvancedTOC];
export const toc = [...AdvancedNodejsTOC, ...AdvancedTOC, ...AdvancedTestCafeTOC];

0 comments on commit 7df8db5

Please sign in to comment.