diff --git a/docs/reference/testplane-events.mdx b/docs/reference/testplane-events.mdx index bf71c75..ea1ee97 100644 --- a/docs/reference/testplane-events.mdx +++ b/docs/reference/testplane-events.mdx @@ -1553,8 +1553,8 @@ module.exports = (testplane, opts) => { ```javascript module.exports = { // tests will be run in a local browser, - // see selenium-standalone in the "Quick Start" section - gridUrl: "http://localhost:4444/wd/hub", + // see https://testplane.io/docs/v8/guides/local-browsers/ + gridUrl: "local", // specify the path to the dev server baseUrl: "http://localhost:3000", diff --git a/docs/reference/webdriver-vs-cdp.mdx b/docs/reference/webdriver-vs-cdp.mdx index 16378ba..a3f7e48 100644 --- a/docs/reference/webdriver-vs-cdp.mdx +++ b/docs/reference/webdriver-vs-cdp.mdx @@ -23,7 +23,6 @@ Additionally, the WebDriver protocol is used as the base protocol for automating - Out of the box, it does not allow tracking and intercepting network events (mocking requests/responses); - Limited set of automation capabilities (e.g., no ability to control network bandwidth or CPU performance): the protocol covers only basic user interaction scenarios with the browser; - No ability to subscribe to browser events (e.g., get information from the browser that a new tab has opened); -- Requires additional setup (installing _selenium-standalone_, necessary browser drivers, etc.). ## CDP @@ -60,7 +59,6 @@ For example, the [Runtime][cdp-runtime] domain allows inspecting the state of Ja - [Manage CPU performance][how-to-manage-cpu-performance] - [Hide scrollbars][how-to-hide-scrollbars-by-cdp] - And more. -- No need to set up _selenium-standalone_ or browser drivers: just having a local Chrome browser is enough. ### Cons diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/reference/testplane-events.mdx b/i18n/ru/docusaurus-plugin-content-docs/current/reference/testplane-events.mdx index c65da24..103ba10 100644 --- a/i18n/ru/docusaurus-plugin-content-docs/current/reference/testplane-events.mdx +++ b/i18n/ru/docusaurus-plugin-content-docs/current/reference/testplane-events.mdx @@ -1552,7 +1552,7 @@ module.exports = (testplane, opts) => { ```javascript module.exports = { // тесты будут запускаться в локальном браузере, - // см. про selenium-standalone в разделе «Быстрый старт» + // см. https://testplane.io/ru/docs/v8/guides/local-browsers/ gridUrl: "http://localhost:4444/wd/hub", // указываем путь к dev-серверу baseUrl: "http://localhost:3000", diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/reference/webdriver-vs-cdp.mdx b/i18n/ru/docusaurus-plugin-content-docs/current/reference/webdriver-vs-cdp.mdx index 81f6dfc..9c84199 100644 --- a/i18n/ru/docusaurus-plugin-content-docs/current/reference/webdriver-vs-cdp.mdx +++ b/i18n/ru/docusaurus-plugin-content-docs/current/reference/webdriver-vs-cdp.mdx @@ -23,7 +23,6 @@ - из коробки не позволяет отслеживать и перехватывать сетевые события (мок запросов/ответов); - ограниченный набор возможностей для автоматизации (например, нет возможности управлять пропускной способностью сети или производительностью CPU): протокол охватывает только основные пользовательские сценарии взаимодействия с браузером; - нет возможности подписаться на браузерные события (например, получить информацию от браузера, что открылась новая вкладка); -- нужны дополнительные «пляски с бубном» для работы (установка _selenium-standalone,_ необходимых драйверов к браузерам и т. п.). ## CDP @@ -60,7 +59,6 @@ API протокола поделено логическим образом на - [управлять быстродействием процессора][how-to-manage-cpu-performance] - [скрывать скроллбары][how-to-hide-scrollbars-by-cdp] - и т. д. -- не нужно настраивать _selenium-standalone_ или драйверы к браузерам: достаточно иметь локальный Chrome-браузер. ### Минусы