Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I was reading about shareSession in PHPUnit Documencation I see in the documentation like that

**From Selenium 1.1.1, an experimental feature is included allowing the user to share the session between tests. The only supported case is to share the session between all tests when a single browser is used Call PHPUnit_Extensions_SeleniumTestCase ** ::shareSession(true) in your bootstrap file to enable session sharing

I already do it. But when I run my tests the browser was lunched and when start another tests the browser doesn't close.It is still lunching and my another test was running if so my test doesn't use the old lunching browser and open a new browser.

What was wrong in my shareSession? When I don't use share session that was fine.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.