Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/reference/testplane-events.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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",

Expand Down
2 changes: 0 additions & 2 deletions docs/reference/webdriver-vs-cdp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
- из коробки не позволяет отслеживать и перехватывать сетевые события (мок запросов/ответов);
- ограниченный набор возможностей для автоматизации (например, нет возможности управлять пропускной способностью сети или производительностью CPU): протокол охватывает только основные пользовательские сценарии взаимодействия с браузером;
- нет возможности подписаться на браузерные события (например, получить информацию от браузера, что открылась новая вкладка);
- нужны дополнительные «пляски с бубном» для работы (установка _selenium-standalone,_ необходимых драйверов к браузерам и т. п.).

## CDP

Expand Down Expand Up @@ -60,7 +59,6 @@ API протокола поделено логическим образом на
- [управлять быстродействием процессора][how-to-manage-cpu-performance]
- [скрывать скроллбары][how-to-hide-scrollbars-by-cdp]
- и т. д.
- не нужно настраивать _selenium-standalone_ или драйверы к браузерам: достаточно иметь локальный Chrome-браузер.

### Минусы

Expand Down