Skip to content

Commit 939ba9c

Browse files
chore: fix reformat
1 parent 30966c7 commit 939ba9c

8 files changed

Lines changed: 8 additions & 0 deletions

File tree

docs/guides/how-to-use-cdp.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ For a comparison of the _WebDriver_ and _CDP_ protocols, see the "WebDriver vs C
2828
Starting from **Testplane 9**, the value `"devtools"` for the `automationProtocol` option (as well as the `--devtools` CLI flag) has been **removed**. It caused a number of hard-to-reproduce errors that never occurred with `automationProtocol: "webdriver"`, and the underlying [WebdriverIO](https://webdriver.io) — on which Testplane is based — has also dropped its `devtools` automation protocol. The only supported value is now `"webdriver"` (which is also the default).
2929

3030
Note that this does **not** deprecate the Chrome DevTools Protocol itself: you can still use CDP directly (see the [Remote Usage](#remote_usage) section below and the rest of this page). Only the `devtools` automation protocol provided by WebdriverIO has been removed.
31+
3132
</Admonition>
3233

3334
To run your tests in a locally installed browser, use `gridUrl: "local"` (or the `--local` CLI flag) — Testplane will automatically download the required browsers and drivers and launch them via WebDriver:

docs/migrations/how-to-upgrade-hermione-to-4.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ We also plan to add a separate button in the hermione GUI for switching to CDP m
246246
To launch tests in a locally installed browser nowadays, use `gridUrl: "local"` (or the `--local` CLI flag) — see the [Running on Local Browsers](/blog/local-browsers-intro) blog post for a step-by-step guide.
247247
248248
This does **not** affect the Chrome DevTools Protocol itself — you can still use CDP directly from your tests, see the [How to Use Chrome DevTools Protocol][how-to-use-cdp] guide.
249+
249250
</Admonition>
250251
251252
### API for Network Request Stubbing {#feature_api_to_mock_network}

docs/reference/cli.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ Example of console output with connection information to the browser:
261261
To run tests in a locally installed browser, use `gridUrl: "local"` in the [config](../config/browsers#automation_protocol) or the `--local` CLI option. See [Running on Local Browsers](/blog/local-browsers-intro) for details.
262262
263263
Note: this does not deprecate the Chrome DevTools Protocol itself — you can still use it directly from tests, see the [How to Use Chrome DevTools Protocol][how-to-use-cdp] guide.
264+
264265
</Admonition>
265266
266267
#### Help {#testplane-help}

docs/reference/config/browsers.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ Protocol for communication with the browser. Available values: `webdriver` and `
171171
To launch tests in a locally installed browser, use [`gridUrl: "local"`](#grid_url) instead — Testplane will automatically download the required browser and driver and start it via WebDriver. See the [Running on Local Browsers](/blog/local-browsers-intro) blog post for a step-by-step guide.
172172

173173
This change does **not** affect the Chrome DevTools Protocol itself — you can still use CDP from your tests, see the [How to Use Chrome DevTools Protocol][how-to-use-cdp] guide.
174+
174175
</Admonition>
175176

176177
### sessionEnvFlags {#session_env_flags}

i18n/ru/docusaurus-plugin-content-docs/current/guides/how-to-use-cdp.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import Admonition from "@theme/Admonition";
2626
Начиная с **Testplane 9** значение `"devtools"` у опции `automationProtocol` (а также CLI-флаг `--devtools`) **удалены**. Этот режим вызывал ряд трудновоспроизводимых ошибок, которых не было при `automationProtocol: "webdriver"`, и в [WebdriverIO](https://webdriver.io), на котором основан Testplane, протокол автоматизации `devtools` также был удалён. Единственное поддерживаемое значение теперь — `"webdriver"` (оно же и значение по умолчанию).
2727

2828
Это **не** означает отказ от самого Chrome DevTools Protocol: вы по-прежнему можете напрямую использовать CDP (см. секцию [Удалённое использование](#remote_usage) ниже и остальную часть этой страницы). Удалён только режим автоматизации `devtools`, который ранее предоставлял WebdriverIO.
29+
2930
</Admonition>
3031

3132
Чтобы запустить тесты в локально установленном браузере, укажите `gridUrl: "local"` (или передайте CLI-флаг `--local`) — Testplane сам скачает необходимые браузеры и драйверы и запустит их по протоколу WebDriver:

i18n/ru/docusaurus-plugin-content-docs/current/migrations/how-to-upgrade-hermione-to-4.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ module.exports = {
246246
Чтобы запустить тесты в локально установленном браузере сейчас, используйте `gridUrl: "local"` (или CLI-флаг `--local`) — пошаговая инструкция есть в блог-посте [Запуск на локальных браузерах](/blog/local-browsers-intro).
247247
248248
Это **не** касается самого Chrome DevTools Protocol — вы по-прежнему можете напрямую использовать CDP в тестах, см. рецепт [Как использовать Chrome DevTools Protocol в testplane][how-to-use-cdp].
249+
249250
</Admonition>
250251
251252
### API для стаба походов по сети {#feature_api_to_mock_network}

i18n/ru/docusaurus-plugin-content-docs/current/reference/cli.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ testplane --repl --grep 'my test name' --browser chrome
262262
Чтобы запустить тесты в локально установленном браузере, используйте `gridUrl: "local"` в [конфиге](../config/browsers#automation_protocol) или CLI-опцию `--local`. Подробности — в блог-посте [Запуск на локальных браузерах](/blog/local-browsers-intro).
263263
264264
Обратите внимание: это не означает отказ от самого Chrome DevTools Protocol — вы по-прежнему можете напрямую использовать CDP в тестах, см. рецепт [Как использовать Chrome DevTools Protocol в testplane][how-to-use-cdp].
265+
265266
</Admonition>
266267
267268
#### Help {#testplane-help}

i18n/ru/docusaurus-plugin-content-docs/current/reference/config/browsers.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ URL грида (адрес, на котором слушает ChromeDriver/Sele
169169
Чтобы запустить тесты в локально установленном браузере, используйте [`gridUrl: "local"`](#grid_url) — Testplane сам скачает нужный браузер и драйвер и запустит его по протоколу WebDriver. Пошаговая инструкция есть в блог-посте [Запуск на локальных браузерах](/blog/local-browsers-intro).
170170

171171
Это изменение **не** касается самого Chrome DevTools Protocol — вы по-прежнему можете использовать CDP в тестах, см. рецепт [Как использовать Chrome DevTools Protocol в testplane][how-to-use-cdp].
172+
172173
</Admonition>
173174

174175
### sessionEnvFlags {#session_env_flags}

0 commit comments

Comments
 (0)