diff --git a/docs/web-apps/automated-testing/_partials/_advanced-nodejs.md b/docs/web-apps/automated-testing/_partials/_advanced-nodejs.md new file mode 100644 index 0000000000..24e588c60e --- /dev/null +++ b/docs/web-apps/automated-testing/_partials/_advanced-nodejs.md @@ -0,0 +1,31 @@ +## Using Node.js Runtime on Sauce Cloud + +Since `saucectl` v0.185.0 and above, you can specify Node.js runtime version on Sauce Cloud. + +Only supported test runners can use configurable Node.js versions. Check the following pages for supported framework versions that allow configurable Node.js versions. + +- [Cypress](../cypress.md#supported-testing-platforms) +- [Playwright](../playwright.md#supported-testing-platforms) +- [Playwright-Cucumber](../playwright.md#supported-testing-platforms) +- [TestCafe](../testcafe.md#supported-testing-platforms) + +### Supported Node.js versions + +Sauce Labs supports the following Node.js versions: + + + + + + + + + + + + + + + + +
Node.js VersionAlias NameEnd of LifeRemoval Date
20.14.0iron, ltsOctober 22, 2024April 30, 2026
diff --git a/docs/web-apps/automated-testing/cucumberjs-playwright/advanced.md b/docs/web-apps/automated-testing/cucumberjs-playwright/advanced.md index b1ab7db7e8..60b198f0f8 100644 --- a/docs/web-apps/automated-testing/cucumberjs-playwright/advanced.md +++ b/docs/web-apps/automated-testing/cucumberjs-playwright/advanced.md @@ -9,10 +9,12 @@ import TabItem from '@theme/TabItem'; import useBaseUrl from '@docusaurus/useBaseUrl'; import Advanced, {toc as AdvancedTOC} from '../\_partials/\_advanced.md'; import AdvancedPlaywrightCucumber, {toc as AdvancedPlaywrightCucumberTOC} from '../\_partials/\_advanced-playwright-cucumber.md'; +import AdvancedNodejs, {toc as AdvancedNodejsTOC} from '../\_partials/\_advanced-nodejs.md'; + -export const toc = [...AdvancedPlaywrightCucumberTOC, ...AdvancedTOC]; +export const toc = [...AdvancedNodejsTOC, ...AdvancedPlaywrightCucumberTOC, ...AdvancedTOC]; diff --git a/docs/web-apps/automated-testing/cucumberjs-playwright/yaml.md b/docs/web-apps/automated-testing/cucumberjs-playwright/yaml.md index 0811724625..787d955ad7 100644 --- a/docs/web-apps/automated-testing/cucumberjs-playwright/yaml.md +++ b/docs/web-apps/automated-testing/cucumberjs-playwright/yaml.md @@ -56,6 +56,25 @@ kind: playwright-cucumberjs --- +## `nodeVersion` + +

| OPTIONAL | STRING |

+ +Specifies the Node.js version for Sauce Cloud, supporting SemVer notation and aliases. For more details, refer to the [Advanced Configuration Page](./advanced.md#using-nodejs-runtime-on-sauce-cloud). + +Examples: `v20`, `v20.14.0`, `v20.14`, `iron`, `lts`. + +:::note +This feature is available in `saucectl` version v0.185.0+ and supported test runners. For details on supported test runners, see [Supported Testing Platforms](../playwright.md#supported-testing-platforms). + +::: + +```yaml +nodeVersion: v20 +``` + +--- + ## `showConsoleLog`

| OPTIONAL | BOOLEAN |

diff --git a/docs/web-apps/automated-testing/cypress.md b/docs/web-apps/automated-testing/cypress.md index 1006da4ea3..9a232402eb 100644 --- a/docs/web-apps/automated-testing/cypress.md +++ b/docs/web-apps/automated-testing/cypress.md @@ -37,7 +37,7 @@ Sauce Labs supports the following test configurations for Cypress: 13.13.3 - 20 + 20, Version Configurable macOS: 11.00, 12, 13 Chrome, Firefox, Microsoft Edge, Webkit (Experimental) August 28, 2025 diff --git a/docs/web-apps/automated-testing/cypress/advanced.md b/docs/web-apps/automated-testing/cypress/advanced.md index eb94961102..f2cd08420c 100644 --- a/docs/web-apps/automated-testing/cypress/advanced.md +++ b/docs/web-apps/automated-testing/cypress/advanced.md @@ -9,10 +9,12 @@ import TabItem from '@theme/TabItem'; import useBaseUrl from '@docusaurus/useBaseUrl'; import Advanced, {toc as AdvancedTOC} from '../\_partials/\_advanced.md'; import AdvancedCypress, {toc as AdvancedCypressTOC} from '../\_partials/\_advanced-cypress.md'; +import AdvancedNodejs, {toc as AdvancedNodejsTOC} from '../\_partials/\_advanced-nodejs.md'; + -export const toc = [...AdvancedTOC, ...AdvancedCypressTOC]; +export const toc = [AdvancedNodejsTOC, ...AdvancedTOC, ...AdvancedCypressTOC]; diff --git a/docs/web-apps/automated-testing/cypress/yaml/v1.md b/docs/web-apps/automated-testing/cypress/yaml/v1.md index fc015a902f..64271af07b 100644 --- a/docs/web-apps/automated-testing/cypress/yaml/v1.md +++ b/docs/web-apps/automated-testing/cypress/yaml/v1.md @@ -66,6 +66,25 @@ kind: cypress --- +## `nodeVersion` + +

| OPTIONAL | STRING |

+ +Specifies the Node.js version for Sauce Cloud, supporting SemVer notation and aliases. For more details, refer to the [Advanced Configuration Page](../advanced.md#using-nodejs-runtime-on-sauce-cloud). + +Examples: `v20`, `v20.14.0`, `v20.14`, `iron`, `lts`. + +:::note +This feature is available in `saucectl` version v0.185.0+ and supported test runners. For details on supported test runners, see [Supported Testing Platforms](../../cypress.md#supported-testing-platforms). + +::: + +```yaml +nodeVersion: v20 +``` + +--- + ## `showConsoleLog`

| OPTIONAL | BOOLEAN |

diff --git a/docs/web-apps/automated-testing/playwright.md b/docs/web-apps/automated-testing/playwright.md index d066676a38..31d5a0b2f8 100644 --- a/docs/web-apps/automated-testing/playwright.md +++ b/docs/web-apps/automated-testing/playwright.md @@ -38,7 +38,7 @@ Sauce Labs supports the following test configurations for Playwright: 1.46.1 - 20 + 20, Version Configurable macOS: 12, 13 Chromium, Chrome, Firefox, Webkit August 28, 2025 diff --git a/docs/web-apps/automated-testing/playwright/advanced.md b/docs/web-apps/automated-testing/playwright/advanced.md index 68cf08d5df..3aafdd2557 100644 --- a/docs/web-apps/automated-testing/playwright/advanced.md +++ b/docs/web-apps/automated-testing/playwright/advanced.md @@ -9,10 +9,12 @@ import TabItem from '@theme/TabItem'; import useBaseUrl from '@docusaurus/useBaseUrl'; import Advanced, {toc as AdvancedTOC} from '../\_partials/\_advanced.md'; import AdvancedPlaywright, {toc as AdvancedPlaywrightTOC} from '../\_partials/\_advanced-playwright.md'; +import AdvancedNodejs, {toc as AdvancedNodejsTOC} from '../\_partials/\_advanced-nodejs.md'; + -export const toc = [...AdvancedTOC, ...AdvancedPlaywrightTOC]; +export const toc = [...AdvancedNodejsTOC, ...AdvancedTOC, ...AdvancedPlaywrightTOC]; diff --git a/docs/web-apps/automated-testing/playwright/yaml.md b/docs/web-apps/automated-testing/playwright/yaml.md index 0363a33938..bba81b939e 100644 --- a/docs/web-apps/automated-testing/playwright/yaml.md +++ b/docs/web-apps/automated-testing/playwright/yaml.md @@ -56,6 +56,25 @@ kind: playwright --- +## `nodeVersion` + +

| OPTIONAL | STRING |

+ +Specifies the Node.js version for Sauce Cloud, supporting SemVer notation and aliases. For more details, refer to the [Advanced Configuration Page](./advanced.md#using-nodejs-runtime-on-sauce-cloud). + +Examples: `v20`, `v20.14.0`, `v20.14`, `iron`, `lts`. + +:::note +This feature is available in `saucectl` version v0.185.0+ and supported test runners. For details on supported test runners, see [Supported Testing Platforms](../playwright.md#supported-testing-platforms). + +::: + +```yaml +nodeVersion: v20 +``` + +--- + ## `showConsoleLog`

| OPTIONAL | BOOLEAN |

diff --git a/docs/web-apps/automated-testing/testcafe.md b/docs/web-apps/automated-testing/testcafe.md index dcb63e2b44..f67ed380e4 100644 --- a/docs/web-apps/automated-testing/testcafe.md +++ b/docs/web-apps/automated-testing/testcafe.md @@ -37,7 +37,7 @@ Sauce Labs supports the following test configurations for TestCafe: 3.6.2 - 20 + 20, Version Configurable macOS: 11.00, 12, 13 Safari, Chrome, Firefox, Microsoft Edge August 28, 2025 diff --git a/docs/web-apps/automated-testing/testcafe/advanced.md b/docs/web-apps/automated-testing/testcafe/advanced.md index a96dcbac36..3b42168974 100644 --- a/docs/web-apps/automated-testing/testcafe/advanced.md +++ b/docs/web-apps/automated-testing/testcafe/advanced.md @@ -8,9 +8,11 @@ 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 AdvancedNodejs, {toc as AdvancedNodejsTOC} from '../\_partials/\_advanced-nodejs.md'; + -export const toc = [...AdvancedTOC]; +export const toc = [...AdvancedNodejsTOC, ...AdvancedTOC]; diff --git a/docs/web-apps/automated-testing/testcafe/yaml.md b/docs/web-apps/automated-testing/testcafe/yaml.md index db2fec7930..e45751a899 100644 --- a/docs/web-apps/automated-testing/testcafe/yaml.md +++ b/docs/web-apps/automated-testing/testcafe/yaml.md @@ -56,6 +56,25 @@ kind: testcafe --- +## `nodeVersion` + +

| OPTIONAL | STRING |

+ +Specifies the Node.js version for Sauce Cloud, supporting SemVer notation and aliases. For more details, refer to the [Advanced Configuration Page](./advanced.md#using-nodejs-runtime-on-sauce-cloud). + +Examples: `v20`, `v20.14.0`, `v20.14`, `iron`, `lts`. + +:::note +This feature is available in `saucectl` version v0.185.0+ and supported test runners. For details on supported test runners, see [Supported Testing Platforms](../testcafe.md#supported-testing-platforms). + +::: + +```yaml +nodeVersion: v20 +``` + +--- + ## `showConsoleLog`

| OPTIONAL | BOOLEAN |