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
After reading about the new headless mode in chrome https://developer.chrome.com/docs/chromium/new-headless
I have tried to make it work in Moodle docker, but there was one unexpected problem: they have removed support for binding the debug port to different interfaces, it always listens only on the localhost address.
Changes needed:
add port redirection to another interface in selenium - I did it by installing socat via apt and sudo socat TCP4-LISTEN:9223,fork TCP4:127.0.0.1:9222
add new setting MOODLE_DOCKER_BROWSER_DEBUG_PORT and open ports to selenium when specified
add changes to config.php to add chrome parameter remote-debugging-port=9222
After reading about the new headless mode in chrome https://developer.chrome.com/docs/chromium/new-headless
I have tried to make it work in Moodle docker, but there was one unexpected problem: they have removed support for binding the debug port to different interfaces, it always listens only on the localhost address.
Changes needed:
sudo socat TCP4-LISTEN:9223,fork TCP4:127.0.0.1:9222
More details in skodak@03a8021
Benefits compared to using VNC:
Known problems:
The text was updated successfully, but these errors were encountered: