phpunit-mink icon indicating copy to clipboard operation
phpunit-mink copied to clipboard

Remember all sessions, created from BrowserConfiguration

Open aik099 opened this issue 12 years ago • 1 comments

Make BrowserConfiguration::createSession method to remember each created session somewhere in central place (shared between browser configurations).

Then via register_shutdown_function ensure, that all sessions are stopped. This would save the day when #5 will be implemented, because we'll have 1 session per browser which is only reset (not stopped) in each test/test case.

aik099 avatar Jul 22 '13 08:07 aik099

Session creation has been moved to SessionFactory class. In reality no session should be running when the register_shutdown_function will be called.

aik099 avatar Feb 05 '14 13:02 aik099