Daniel Marino
31 October 2024
Using Chrome to Fix the DevToolsActivePort File Error in Selenium on GitHub Actions

It can be annoying when Selenium tests on GitHub Actions encounter the "DevToolsActivePort file doesn’t exist" issue, particularly when testing in headless Chrome. Memory limitations or incompatible ChromeDriver versions are frequently the cause of this problem. An efficient fix is covered in this guide: exact version alignment of Chrome and ChromeDriver, together with memory-saving settings.