From 2aec4c42e38a4c0178f0476a682bd27af0af0c40 Mon Sep 17 00:00:00 2001 From: gkapkowski-saucelabs Date: Thu, 26 Sep 2024 11:53:06 +0200 Subject: [PATCH] CDP/BiDi docs imprvemens --- docs/web-apps/automated-testing/cdp.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/docs/web-apps/automated-testing/cdp.md b/docs/web-apps/automated-testing/cdp.md index 2fa497aabf..ad3a527c56 100644 --- a/docs/web-apps/automated-testing/cdp.md +++ b/docs/web-apps/automated-testing/cdp.md @@ -29,7 +29,7 @@ In order to make use of the CDP / BiDi functionality, you have two possibilities ### 1. Using Selenium -If you're using Selenium, you can enable CDP / BiDi by setting the `devTools` parameter in `sauce:options` to `true`. +If you're using Selenium, you can enable CDP / BiDi by setting the `webSocketUrl` capability to `true` (recommended) OR `devTools` parameter in `sauce:options` to `true` (legacy)