Session is already started issue #1075
Replies: 5 comments 3 replies
-
Hi, could you provide the code you use to start new session? Also how do you start selenium server or other browser driver? (like chromedriver etc.) Or you use Laravel Dusk etc.? |
Beta Was this translation helpful? Give feedback.
-
This is because your Geckodriver itself can only have one concurrent session. If you want another, either start another |
Beta Was this translation helpful? Give feedback.
-
@OndraM, Thanks for your reply! You mean that concurrent requests are not possible with Geckodriver right? and we should go with Selenium server. I will check Selenium server as per your suggestion. Thank you! |
Beta Was this translation helpful? Give feedback.
-
@OndraM, As per your suggestion I have prepared demo for Selenium server We are starting selenium server by using following command :-
We are using following PHP code to submit a form and retrieve response from website.
But we are facing following error:- $ php selenium_standalone.php Operation timed out after 180001 milliseconds with 0 bytes received in vendor/php-webdriver/webdriver/lib/Exception/Internal/WebDriverCurlException.php:20 Thank you! |
Beta Was this translation helpful? Give feedback.
-
@OndraM, Thank you for your reply! I have changed $host = 'http://localhost:4444; as per your suggestion in our script and there is following output of Selenium server and still we are getting same error:- |
Beta Was this translation helpful? Give feedback.
-
Hello,
We are facing following error:-
PHP Fatal error: Uncaught Facebook\WebDriver\Exception\SessionNotCreatedException: Session is already started in vendor/php-webdriver/webdriver/lib/Exception/WebDriverException.php:130
Could you please help us how to resolve it?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions