When I try to start a new Microsoft Edge session, I encounter this error:
Unknown Problem: Could not start a new session. Response code 500. Message: session not created from no such execution context: loader has changed while resolving nodes (Session info: MicrosoftEdge=114.0.1823.79) System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.15' Driver info: org.openqa.selenium.edge.EdgeDriver
I have already researched this specific error, and the only solution I found was to add these two arguments:
--disable-dev-shm-usage --remote-allow-origins=*
and to add this setting:
System.setProperty("webdriver.edge.driver", "driverpath");
which I have already done.
Edit: This problem only occurs in our CI, and it happens kind of randomly.