Comments (4)
More details:
When script that was using Mink opens pages from different domains and sets cookies on both of them, then calling Session::reset()
would only remove cookies from domain belonging to currently opened page.
In general some drivers doesn't allow setting/removing cookies from other than current domain. To get cross-driver consistent behavior the drivers that can manage cookies on different domains, like Zombie, were restricted to current domain only as well.
from docs.
@aik099 note that ZombieDriver resets all cookies properly on reset (the goal for reset is to do the best resetting possible, not to implement the common denominator). So this limitation is only for Selenium, Selenium2 and Sahi.
@j4m3s if you want to contribute, this should probably be documented in https://github.com/minkphp/docs/blob/master/guides/session.rst#resetting-the-session
from docs.
@stof am I right in thinking that scenarios are "soft isolated" by default (i.e. session is reset so cookies are cleared etc)?
My experience with phantomjs suggests not (see also this SO post from someone a while back: http://stackoverflow.com/questions/17279478/when-running-a-behat-login-test-through-phantomjs-it-only-passes-on-the-first-ru) - but I know selenium and Goutte do. I'm trying to find my feet before doing any documentation updating!
from docs.
@j4m3s yes, it is the case
from docs.
Related Issues (20)
- Update the page manipulation chapter
- Add a getting starting chapter HOT 5
- Improve the chapter about the Mink class to manage multiple sessions
- Document the assertion system
- Change the DNS for the mink.behat.org domain HOT 6
- Add a paragraph about third-party driver implementations HOT 4
- Session interaction timing out for a particular site HOT 2
- Add options to Selenium2Driver setValue method HOT 2
- i have some problem about submit from for input value is not working.
- Would like mink to return browserstack sessionid.
- Manual not clear HOT 1
- Delete Page about SahiDriver (which is abandoned)
- Doc about session lazy-start is outdated
- Outdated.
- HTTPS for the doc HOT 4
- 'see function()' text should be a link
- setValue can't work in vuejs apps HOT 1
- Move from Travis CI to GitHub Actions
- Maybe mention chromedriver and xvfb-run?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.