Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create proxy around Mink's Session #58

Closed
aik099 opened this issue Oct 17, 2015 · 0 comments
Closed

Create proxy around Mink's Session #58

aik099 opened this issue Oct 17, 2015 · 0 comments

Comments

@aik099
Copy link
Member

aik099 commented Oct 17, 2015

Right now call to BrowserTestCase::getSession() will not only create session, but also start it automatically. The auto-start behavior comes from IsolatedSessionStategy.

This behavior might not be desired one, because browser is opened even before any user code, that interacts with it is started.

I think that we can create proxy around Session class, that would ignore explicit calls to start method and will auto-start (if not running) on call to ->visit method.

@aik099 aik099 changed the title Create decorator around Mink's Session Create proxy around Mink's Session Oct 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant