Skip to content

Commit 30b1aba

Browse files
authored
Issue #77 - Add info about accessing the logs to troubleshoot
1 parent 5a1e1e5 commit 30b1aba

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,30 @@ Screenshots of the results will be available in the `reports/` folder.
9292

9393
## Troubleshooting
9494

95+
### Chromium is crashing
96+
9597
Chrome drivers might crash due to the small size of `/dev/shm` in the docker container:
9698
> UnknownError: session deleted because of page crash
9799
98100
This is [a known bug of Chromium](https://bugs.chromium.org/p/chromium/issues/detail?id=715363).
99101

100102
To avoid this error, please change the shm size when starting the container by adding the following parameter: `--shm-size=1g` (or any other size more suited to your tests)
101103

104+
### Accessing the logs
105+
106+
In case further investigation is required, the logs can be accessed by mounting their folder. Simply add the following parameter to your `run` command:
107+
108+
* Linux/Mac:
109+
110+
```
111+
-v `pwd`/logs:/var/log:Z
112+
```
113+
114+
* Windows:
115+
```
116+
-v ${PWD}/logs:/var/log:Z
117+
```
118+
102119
## Please contribute!
103120

104121
Have you found an issue? Do you have an idea for an improvement? Feel free to contribute by submitting it [on the GitHub project](https://github.com/ppodgorsek/docker-robot-framework/issues).

0 commit comments

Comments
 (0)