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..ca9d525387 --- /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, you can specify a 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. + +- [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 VersionAliasEnd of LifeRemoval Date
20.14.0iron, ltsOctober 22, 2024April 30, 2026
diff --git a/docs/web-apps/automated-testing/cdp-bidi/examples.md b/docs/web-apps/automated-testing/cdp-bidi/examples.md index 91390233c1..6049e8b8e2 100644 --- a/docs/web-apps/automated-testing/cdp-bidi/examples.md +++ b/docs/web-apps/automated-testing/cdp-bidi/examples.md @@ -90,7 +90,7 @@ async function setCookie() { -See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidirectional/chrome_devtools/cdp_api/#set-cookie) +See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidi/cdp/network/#setting-cookies) ### Basic Auth Basic Auth allows you to test websites that have basic access authentication implemented. @@ -145,7 +145,7 @@ async function myTest() { -See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidirectional/chrome_devtools/cdp_api/#basic-authentication) +See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidi/cdp/network/#basic-authentication) ## BiDi API @@ -199,7 +199,7 @@ async function captureConsoleLogs() { -See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidirectional/chrome_devtools/bidi_api/#console-logs-and-errors) +See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidi/cdp/logging/#console-logs) ### Network Interception Network events can be intercepted for both requests and responses in order to consume or transform them. @@ -274,4 +274,4 @@ async function captureContentTypes() { -See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidirectional/chrome_devtools/bidi_api/#response-information) or [WebdriverIO reference on CDP](https://webdriver.io/docs/devtools-service/#chrome-devtools-access) +See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidi/cdp/network/#network-interception) or [WebdriverIO reference on CDP](https://webdriver.io/docs/devtools-service/#chrome-devtools-access) diff --git a/docs/web-apps/automated-testing/cdp.md b/docs/web-apps/automated-testing/cdp.md index 9626261f3a..f3c0e6c3ff 100644 --- a/docs/web-apps/automated-testing/cdp.md +++ b/docs/web-apps/automated-testing/cdp.md @@ -25,7 +25,7 @@ Selenium has stated in their reference that they will eventually move away from ## Enabling CDP / BiDi -In order to make use of the CDP / BiDi functionality, you have three possibilities: +In order to make use of the CDP / BiDi functionality, you have two possibilities: ### 1. Using Selenium 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 b244ed9a2e..148abcde53 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..00ab4fd46c 100644 --- a/docs/web-apps/automated-testing/cypress.md +++ b/docs/web-apps/automated-testing/cypress.md @@ -30,14 +30,16 @@ Sauce Labs supports the following test configurations for Cypress: Cypress Version Node.js Version - Supported Platforms - Supported Browsers - End of Life + Supports Configurable Node.js + Supported Platforms + Supported Browsers + End of Life 13.13.3 20 + ✅ macOS: 11.00, 12, 13 Chrome, Firefox, Microsoft Edge, Webkit (Experimental) August 28, 2025 @@ -50,6 +52,7 @@ Sauce Labs supports the following test configurations for Cypress: 13.13.1 20 + macOS: 11.00, 12, 13 Chrome, Firefox, Microsoft Edge, Webkit (Experimental) July 23, 2025 @@ -62,6 +65,7 @@ Sauce Labs supports the following test configurations for Cypress: 13.12.0 20 + macOS: 11.00, 12, 13 Chrome, Firefox, Microsoft Edge, Webkit (Experimental) June 26, 2025 @@ -74,6 +78,7 @@ Sauce Labs supports the following test configurations for Cypress: 13.10.0 20 + macOS: 11.00, 12, 13 Chrome, Firefox, Microsoft Edge, Webkit (Experimental) May 28, 2025 @@ -86,6 +91,7 @@ Sauce Labs supports the following test configurations for Cypress: 13.7.3 20 + macOS: 11.00, 12, 13 Chrome, Firefox, Microsoft Edge, Webkit (Experimental) April 15, 2025 @@ -98,6 +104,7 @@ Sauce Labs supports the following test configurations for Cypress: 13.6.6 20 + macOS: 11.00, 12, 13 Chrome, Firefox, Microsoft Edge, Webkit (Experimental) February 28, 2025 @@ -110,6 +117,7 @@ Sauce Labs supports the following test configurations for Cypress: 13.6.3 20 + macOS: 11.00, 12, 13 Chrome, Firefox, Microsoft Edge, Webkit (Experimental) January 22, 2025 @@ -122,6 +130,7 @@ Sauce Labs supports the following test configurations for Cypress: 13.6.0 20 + macOS: 11.00, 12, 13 Chrome, Firefox, Microsoft Edge, Webkit (Experimental) December 6, 2024 @@ -134,6 +143,7 @@ Sauce Labs supports the following test configurations for Cypress: 13.4.0 20 + macOS: 11.00, 12, 13 Chrome, Firefox, Microsoft Edge, Webkit (Experimental) November 7, 2024 @@ -146,6 +156,7 @@ Sauce Labs supports the following test configurations for Cypress: 13.3.0 18 + macOS: 11.00, 12, 13 Chrome, Firefox, Microsoft Edge, Webkit (Experimental) September 28, 2024 @@ -158,6 +169,7 @@ Sauce Labs supports the following test configurations for Cypress: 12.17.4 18 + macOS: 11.00, 12, 13 Chrome, Firefox, Microsoft Edge, Webkit (Experimental) August 31, 2024 diff --git a/docs/web-apps/automated-testing/cypress/advanced.md b/docs/web-apps/automated-testing/cypress/advanced.md index eb94961102..d2f166ac53 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 07e7b68d6d..99c6941137 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..1af88ec2a2 100644 --- a/docs/web-apps/automated-testing/playwright.md +++ b/docs/web-apps/automated-testing/playwright.md @@ -31,14 +31,16 @@ Sauce Labs supports the following test configurations for Playwright: Playwright Version Node.js Version - Supported Platforms - Supported Browsers - End of Life + Supports Configurable Node.js + Supported Platforms + Supported Browsers + End of Life 1.46.1 20 + ✅ macOS: 12, 13 Chromium, Chrome, Firefox, Webkit August 28, 2025 @@ -51,6 +53,7 @@ Sauce Labs supports the following test configurations for Playwright: 1.45.2 20 + macOS: 12, 13 Chromium, Chrome, Firefox, Webkit July 23, 2025 @@ -63,6 +66,7 @@ Sauce Labs supports the following test configurations for Playwright: 1.45.0 20 + macOS: 12, 13 Chromium, Chrome, Firefox, Webkit June 26, 2025 @@ -75,6 +79,7 @@ Sauce Labs supports the following test configurations for Playwright: 1.44.0 20 + macOS: 12, 13 Chromium, Chrome, Firefox, Webkit May 28, 2025 @@ -87,6 +92,7 @@ Sauce Labs supports the following test configurations for Playwright: 1.43.1 20 + macOS: 11.00, 12, 13 Chromium, Chrome, Firefox, Webkit April 15, 2025 @@ -99,6 +105,7 @@ Sauce Labs supports the following test configurations for Playwright: 1.41.2 20 + macOS: 11.00, 12, 13 Chromium, Chrome, Firefox, Webkit February 28, 2025 @@ -111,6 +118,7 @@ Sauce Labs supports the following test configurations for Playwright: 1.41.0 20 + macOS: 11.00, 12, 13 Chromium, Chrome, Firefox, Webkit January 22, 2025 @@ -123,6 +131,7 @@ Sauce Labs supports the following test configurations for Playwright: 1.40.1 20 + macOS: 11.00, 12, 13 Chromium, Chrome, Firefox, Webkit December 6, 2024 @@ -135,6 +144,7 @@ Sauce Labs supports the following test configurations for Playwright: 1.39.0 20 + macOS: 11.00, 12, 13 Chromium, Chrome, Firefox, Webkit November 7, 2024 @@ -147,6 +157,7 @@ Sauce Labs supports the following test configurations for Playwright: 1.38.1 18 + macOS: 11.00, 12, 13 Chromium, Chrome, Firefox, Webkit September 28, 2024 @@ -159,6 +170,7 @@ Sauce Labs supports the following test configurations for Playwright: 1.37.1 18 + macOS: 11.00, 12, 13 Chromium, Chrome, Firefox, Webkit August 31, 2024 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 e3f239d3dc..81a895a55a 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..795359cc3d 100644 --- a/docs/web-apps/automated-testing/testcafe.md +++ b/docs/web-apps/automated-testing/testcafe.md @@ -30,14 +30,16 @@ Sauce Labs supports the following test configurations for TestCafe: TestCafe Version Node.js Version - Supported Platforms - Supported Browsers - End of Life + Supports Configurable Node.js + Supported Platforms + Supported Browsers + End of Life 3.6.2 20 + ✅ macOS: 11.00, 12, 13 Safari, Chrome, Firefox, Microsoft Edge August 28, 2025 @@ -55,6 +57,7 @@ Sauce Labs supports the following test configurations for TestCafe: 3.6.1 20 + macOS: 11.00, 12, 13 Safari, Chrome, Firefox, Microsoft Edge June 26, 2025 @@ -72,6 +75,7 @@ Sauce Labs supports the following test configurations for TestCafe: 3.6.0 20 + macOS: 11.00, 12, 13 Safari, Chrome, Firefox, Microsoft Edge May 28, 2025 @@ -89,6 +93,7 @@ Sauce Labs supports the following test configurations for TestCafe: 3.5.0 20 + macOS: 11.00, 12, 13 Safari, Chrome, Firefox, Microsoft Edge April 15, 2025 @@ -106,6 +111,7 @@ Sauce Labs supports the following test configurations for TestCafe: 3.4.0 20 + macOS: 11.00, 12, 13 Safari, Chrome, Firefox, Microsoft Edge December 6, 2024 @@ -123,6 +129,7 @@ Sauce Labs supports the following test configurations for TestCafe: 3.3.0 18 + macOS: 11.00, 12, 13 Safari, Chrome, Firefox, Microsoft Edge September 28, 2024 @@ -140,6 +147,7 @@ Sauce Labs supports the following test configurations for TestCafe: 3.2.0 18 + macOS: 11.00, 12, 13 Safari, Chrome, Firefox, Microsoft Edge August 31, 2024 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 6b8d89c7a2..01e1808fa4 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 |