Can't catch Curl error thrown for http DELETE to /session/**** #1035
Unanswered
Jestergnet
asked this question in
Q&A
Replies: 1 comment
-
In my projects I use getAllSessions() https://github.com/php-webdriver/php-webdriver/blob/main/lib/Remote/RemoteWebDriver.php#L569 and if session ID don't exists I start new session. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I can't catch Curl error thrown for http DELETE to /session/****. Sometimes it happens that Selenium restarts and connection refused. In this case, the error is not intercepted in the code and the stream crashes.
What do you advise?
Sample code used:
Beta Was this translation helpful? Give feedback.
All reactions