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
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,13 +92,30 @@ Screenshots of the results will be available in the `reports/` folder.
92
92
93
93
## Troubleshooting
94
94
95
+
### Chromium is crashing
96
+
95
97
Chrome drivers might crash due to the small size of `/dev/shm` in the docker container:
96
98
> UnknownError: session deleted because of page crash
97
99
98
100
This is [a known bug of Chromium](https://bugs.chromium.org/p/chromium/issues/detail?id=715363).
99
101
100
102
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)
101
103
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
+
102
119
## Please contribute!
103
120
104
121
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