====== Selenoid ====== Selenium, упакованный в Docker. [[https://aerokube.com/selenoid/latest/|Документация]]. ===== Решение проблем ===== ==== org.openqa.selenium.NoSuchSessionException: invalid session id ==== Большинство тестов завершаются неуспешно. Браузеру Chrome не хватает памяти. Дело в том, что Chrome использует ''/dev/shm'', а размер shm в Докере по умолчанию - 64 МБ. Possible workarounds: * Increase the size of ''/dev/shm'' * Mount ''/dev/shm'' to the host's * Start Chrome with the flag ''%%--disable-dev-shm-usage%%'' В моём случае я применил ''%%docker run --shm-size=12g%%'' https://stackoverflow.com/questions/57340315/org-openqa-selenium-nosuchsessionexception-invalid-session-id-message-this-ver