-
Notifications
You must be signed in to change notification settings - Fork 161
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
Override WebSocket class #911
Comments
This one is biting me as well... our session id is in in the cookie and we need that to authenticate the web socket request. Any timeframe on fixing this? I'm running testcafe 0.17.2. |
I cannot provide an exact timeframe for this task. |
Same issue here. We need to be able to extract the cookie header form websocket connection request, so we can authenticate the websocket request. In 0.17.2 (and also the 0.18 alpha version) the request.cookie header is missing. Hopefully the patch will be available soon. Let me know if we can help testing new versions. Hopefully this new version will also take into account the cookie flags (http only and/or secure). It would be very nice if we could modify the flags of cookies maintained by hammerhead from our test script. |
* fix `Override WebSocket class` (close DevExpress#911) * fix origin header * add server tests * fix tests * fix review's issues * fix tests * fix tests * fix review issue * add tests and override origin property * add server tests * add one more client test
This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow. |
Request for socket opening sends the 'cookie' header with
document.cookie
value, but we don't write cookie indocument.cookie
, we save cookie in hammehread's settings.https://testcafe-discuss.devexpress.com/t/set-cookies-on-client-side/65/6
The text was updated successfully, but these errors were encountered: