Skip to content

Commit 56ec6cb

Browse files
authored
Merge pull request #78 from ppodgorsek/issue-77
Issue #77 - Add info about accessing the logs to troubleshoot
2 parents 5a1e1e5 + 175effa commit 56ec6cb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,22 @@ 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: ``-v `pwd`/logs:/var/log:Z``
109+
* Windows: ``-v ${PWD}/logs:/var/log:Z``
110+
102111
## Please contribute!
103112

104113
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)