You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Video recording, screen resolution, and time zones in a Dynamic Grid
977
976
To record your WebDriver session, you need to add a `se:recordVideo`
978
977
field set to `true`. You can also set a time zone and a screen resolution,
@@ -1009,6 +1008,18 @@ driver.quit()
1009
1008
After test executed, under (`${PWD}/assets`) you can see the video file name in path `/<sessionId>/test_visit_basic_auth_secured_page_ChromeTests.mp4`
1010
1009
1011
1010
The file name will be trimmed to 255 characters to avoid long file names. Moreover, the `space` character will be replaced by `_`, and only the characters alphabets, numbers, `-` (hyphen), and `_` (underscore) are retained in the file name. (This feat is available once this [PR](https://github.com/SeleniumHQ/selenium/pull/13907) merged)
1011
+
1012
+
### Time zone configuration via env variable
1013
+
1014
+
`tzdata` is installed in based images, and you can set the time zone in container by using the env variable `TZ`.
1015
+
By default, the time zone is set to `UTC`.
1016
+
List of supported time zones can be found [here](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For example:
1017
+
1018
+
```bash
1019
+
$ docker run --rm --entrypoint="" -e TZ=Asia/Ho_Chi_Minh selenium/node-chromium:latest date +%FT%T%Z
0 commit comments