From 2a34257436edee3de08d5cf41bff52923bf91157 Mon Sep 17 00:00:00 2001 From: gromanas Date: Mon, 22 Jan 2024 18:27:49 +0200 Subject: [PATCH 1/9] chore(devtools): - Update website for AutomationProtocols.md and devtools/README.md Contributes to: #11860 Signed-off-by: Georgios Romanas gromanas@gmail.com --- packages/devtools/README.md | 7 +++++++ website/docs/AutomationProtocols.md | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/packages/devtools/README.md b/packages/devtools/README.md index e71993f0967..21fd10bc916 100644 --- a/packages/devtools/README.md +++ b/packages/devtools/README.md @@ -1,3 +1,10 @@ +:::warning + +***Please note that this protocol would be deprecated in future and would be replaced by the [WebDriver](/docs/api/webdriver) +protocol.*** + +::: + DevTools ======== diff --git a/website/docs/AutomationProtocols.md b/website/docs/AutomationProtocols.md index d3f369053a5..025aad6c3b0 100644 --- a/website/docs/AutomationProtocols.md +++ b/website/docs/AutomationProtocols.md @@ -46,6 +46,15 @@ There are also plenty of services that allow you to run your automation test in ## DevTools Protocol +:::warning + +***Please note that this protocol would be deprecated in future and would be replaced by the [WebDriver](/docs/api/webdriver) +protocol.*** + +::: + + + The DevTools interface is a native browser interface that is usually being used to debug the browser from a remote application (e.g., [Chrome DevTools](https://developers.google.com/web/tools/chrome-devtools/)). Next to its capabilities to inspect the browser in nearly all possible forms, it can also be used to control it. While every browser used to have its own internal DevTools interface that was not really exposed to the user, more and more browsers are now adopting the [Chrome DevTools Protocol](https://chromedevtools.github.io/devtools-protocol/). It is used to either debug a web application using Chrome DevTools or control Chrome using tools like [Puppeteer](https://pptr.dev). From b6240c2e53d016a585a65d4ef0b66f55b6bec5f5 Mon Sep 17 00:00:00 2001 From: George Romanas <48865319+gromanas@users.noreply.github.com> Date: Tue, 23 Jan 2024 16:03:49 +0200 Subject: [PATCH 2/9] Update devtools/README.md --- packages/devtools/README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/devtools/README.md b/packages/devtools/README.md index 21fd10bc916..d07bb6d0713 100644 --- a/packages/devtools/README.md +++ b/packages/devtools/README.md @@ -1,10 +1,7 @@ -:::warning - -***Please note that this protocol would be deprecated in future and would be replaced by the [WebDriver](/docs/api/webdriver) +> [!WARNING] +> ***Please note that this protocol would be deprecated in future and would be replaced by the [WebDriver](/docs/api/webdriver) protocol.*** -::: - DevTools ======== From 95625bf28d909101d2f2d21fd2181d818438df46 Mon Sep 17 00:00:00 2001 From: George Romanas <48865319+gromanas@users.noreply.github.com> Date: Wed, 24 Jan 2024 11:11:18 +0200 Subject: [PATCH 3/9] Update website/docs/AutomationProtocols.md Co-authored-by: Christian Bromann --- website/docs/AutomationProtocols.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/AutomationProtocols.md b/website/docs/AutomationProtocols.md index 025aad6c3b0..a6723335c25 100644 --- a/website/docs/AutomationProtocols.md +++ b/website/docs/AutomationProtocols.md @@ -46,7 +46,7 @@ There are also plenty of services that allow you to run your automation test in ## DevTools Protocol -:::warning +:::warning Deprecation ***Please note that this protocol would be deprecated in future and would be replaced by the [WebDriver](/docs/api/webdriver) protocol.*** From a6615d3ac5e9b1dc53b9d03ee28b7a68a4f7bf20 Mon Sep 17 00:00:00 2001 From: George Romanas <48865319+gromanas@users.noreply.github.com> Date: Wed, 24 Jan 2024 11:12:15 +0200 Subject: [PATCH 4/9] Update website/docs/AutomationProtocols.md Co-authored-by: Christian Bromann --- website/docs/AutomationProtocols.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/website/docs/AutomationProtocols.md b/website/docs/AutomationProtocols.md index a6723335c25..2fe362be73c 100644 --- a/website/docs/AutomationProtocols.md +++ b/website/docs/AutomationProtocols.md @@ -48,8 +48,7 @@ There are also plenty of services that allow you to run your automation test in :::warning Deprecation -***Please note that this protocol would be deprecated in future and would be replaced by the [WebDriver](/docs/api/webdriver) -protocol.*** +WebdriverIO is be deprecating the use of Chrome Devtools as automation protocol through a WebDriver like interface. Instead you can use the [`getPuppeteer`](/docs/api/browser/getPuppeteer) command to get ahold of a Puppeteer instance for Chrome Devtools introspection and automation. ::: From 7230bbf9ebfc1ec0dd4b78e78cf053a5e7ec9641 Mon Sep 17 00:00:00 2001 From: gromanas Date: Wed, 24 Jan 2024 22:36:57 +0200 Subject: [PATCH 5/9] chore(devtools): - Update website for AutomationProtocols.md, Config and Options.ts with a deprecation warning Contributes to: #11860 Signed-off-by: Georgios Romanas gromanas@gmail.com --- packages/wdio-types/src/Options.ts | 6 ++++++ website/docs/AutomationProtocols.md | 2 +- website/docs/Configuration.md | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/packages/wdio-types/src/Options.ts b/packages/wdio-types/src/Options.ts index 30b800e534a..018bc9b6e14 100644 --- a/packages/wdio-types/src/Options.ts +++ b/packages/wdio-types/src/Options.ts @@ -270,6 +270,12 @@ export interface WebdriverIO extends Omit, Pick Date: Wed, 24 Jan 2024 22:39:28 +0200 Subject: [PATCH 6/9] chore(devtools): - Fix typo on Options.ts Contributes to: #11860 Signed-off-by: Georgios Romanas gromanas@gmail.com --- packages/wdio-types/src/Options.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/wdio-types/src/Options.ts b/packages/wdio-types/src/Options.ts index 018bc9b6e14..86c4ac98621 100644 --- a/packages/wdio-types/src/Options.ts +++ b/packages/wdio-types/src/Options.ts @@ -273,7 +273,7 @@ export interface WebdriverIO extends Omit, Pick Date: Wed, 24 Jan 2024 22:46:50 +0200 Subject: [PATCH 7/9] chore(devtools): - Fix text on packages/devtools/README.md Contributes to: #11860 Signed-off-by: Georgios Romanas gromanas@gmail.com --- packages/devtools/README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/devtools/README.md b/packages/devtools/README.md index d07bb6d0713..e737deb88f7 100644 --- a/packages/devtools/README.md +++ b/packages/devtools/README.md @@ -1,6 +1,5 @@ -> [!WARNING] -> ***Please note that this protocol would be deprecated in future and would be replaced by the [WebDriver](/docs/api/webdriver) -protocol.*** +> [!WARNING] +> ***WebdriverIO is deprecating the use of Chrome Devtools as automation protocol through a WebDriver like interface. Instead, you can use the [`getPuppeteer`](/docs/api/browser/getPuppeteer) command to get ahold of a Puppeteer instance for Chrome Devtools introspection and automation.*** DevTools ======== From ef47f5d914a59e255c609bb6d8ed3e8118e27e74 Mon Sep 17 00:00:00 2001 From: gromanas Date: Wed, 24 Jan 2024 22:56:08 +0200 Subject: [PATCH 8/9] chore(devtools): - Change text as per comment on Options.md Contributes to: #11860 Signed-off-by: Georgios Romanas gromanas@gmail.com --- packages/wdio-types/src/Options.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/wdio-types/src/Options.ts b/packages/wdio-types/src/Options.ts index 86c4ac98621..848df763093 100644 --- a/packages/wdio-types/src/Options.ts +++ b/packages/wdio-types/src/Options.ts @@ -270,16 +270,12 @@ export interface WebdriverIO extends Omit, Pick Date: Wed, 24 Jan 2024 12:57:27 -0800 Subject: [PATCH 9/9] Update website/docs/AutomationProtocols.md --- website/docs/AutomationProtocols.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/website/docs/AutomationProtocols.md b/website/docs/AutomationProtocols.md index 5b43f49268f..dd4da499869 100644 --- a/website/docs/AutomationProtocols.md +++ b/website/docs/AutomationProtocols.md @@ -52,8 +52,6 @@ WebdriverIO is deprecating the use of Chrome Devtools as automation protocol thr ::: - - The DevTools interface is a native browser interface that is usually being used to debug the browser from a remote application (e.g., [Chrome DevTools](https://developers.google.com/web/tools/chrome-devtools/)). Next to its capabilities to inspect the browser in nearly all possible forms, it can also be used to control it. While every browser used to have its own internal DevTools interface that was not really exposed to the user, more and more browsers are now adopting the [Chrome DevTools Protocol](https://chromedevtools.github.io/devtools-protocol/). It is used to either debug a web application using Chrome DevTools or control Chrome using tools like [Puppeteer](https://pptr.dev).