Skip to content

Commit c8cf46b

Browse files
committed
Note about setting the Grid url
Fixes SeleniumHQ#1451 [skip ci]
1 parent 305b1a6 commit c8cf46b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -433,9 +433,10 @@ docker run -d -e SCREEN_WIDTH=1366 -e SCREEN_HEIGHT=768 -e SCREEN_DEPTH=24 -e SC
433433

434434
### Grid Url and Session Timeout
435435

436-
In some use cases you might need to set the Grid url to the Node, for example if you'd like to access the CDP endpoint. You
437-
can do that through the `SE_NODE_GRID_URL` environment variable. Setting this env var is needed if you want to see the live
438-
view while sessions are executing.
436+
In some use cases you might need to set the Grid url to the Node, for example if you'd like to access the BiDi/CDP endpoint.
437+
This is also needed when you want to use the new `RemoteWebDriver.builder()` or `Augmenter()` present in Selenium 4
438+
(since they setup the BiDi/CDP connection implicitly). You can do that through the `SE_NODE_GRID_URL` environment
439+
variable. Setting this env var is needed if you want to see the live view while sessions are executing.
439440

440441
Grid has a default session timeout of 300 seconds, where the session can be on a stale state until it is killed. You can use
441442
`SE_NODE_SESSION_TIMEOUT` to overwrite that value in seconds.

0 commit comments

Comments
 (0)