Connection timeout under PHP8.1 breaks in unexpected fashion.
I have an issue with my tests were only the first one seems to work. Subsequent ones timeout - I'm fairly certain I've done something wrong with my Chrome docker container. This is all besides the point but does lead to:
Warning: Trying to access array offset on value of type null in /app/vendor/dmore/chrome-mink-driver/src/DevToolsConnection.php line 108
This is because the exception thrown is a Websocket\TimeoutException and is therefore not suitable for parsing by the code on line 107
As an error when the test invariably fails rather than one about the driver timing out. I think this is because PHP is now a lot more strict about that sort of thing and the code does seem to blindly grab values from an array which is null because the exception is not what was really expected.