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

ggr should overwrite the sessionId to all the response with longer string #211

Open
saurabh-agarwals opened this issue May 28, 2018 · 0 comments
Milestone

Comments

@saurabh-agarwals
Copy link

Ggr modifies only the first new session request, the rest is proxied as is. In my case protractor sets sessionId from the response received from getSessionCapabilities API when reusing the session.

example: request params name_: 'getSessionCapabilities', parameters_: {} }

{ "status": 0, "sessionId": "5669c3dbd33b478f8cea3c2476aa854a", "value": { "takesScreenshot": true, "acceptSslCerts": false, "networkConnectionEnabled": false, "mobileEmulationEnabled": false, "unexpectedAlertBehaviour": "", "applicationCacheEnabled": false, "locationContextEnabled": true, "rotatable": false, "acceptInsecureCerts": false, "hasTouchScreen": false, "platform": "Windows NT", "version": "66.0.3359.117", "nativeEvents": true, "handlesAlerts": true, "takesHeapSnapshot": true, "javascriptEnabled": true, "databaseEnabled": false, "webdriver.remote.sessionid": "5669c3dbd33b478f8cea3c2476aa854a", "browserName": "chrome", "hasMetadata": true, "webStorageEnabled": true, "browserConnectionEnabled": false, "cssSelectorsEnabled": true, "chrome": { "chromedriverVersion": "2.38.551601 (edb21f07fc70e9027c746edd3201443e011a61ed)", "userDataDir": "C:\\\\Users\\\\ADMINI~1\\\\AppData\\\\Local\\\\Temp\\\\scoped_dir1956_5809" }, "setWindowRect": true, "pageLoadStrategy": "normal" } }

@vania-pooh vania-pooh modified the milestones: 1.5.5, 1.5.6 May 28, 2018
@vania-pooh vania-pooh modified the milestones: 1.6.0, 1.6.1, 1.6.2 Jul 17, 2018
@vania-pooh vania-pooh modified the milestones: 1.6.2, 1.6.3 Oct 18, 2018
@vania-pooh vania-pooh modified the milestones: 1.6.3, 1.6.4 Dec 15, 2018
@vania-pooh vania-pooh modified the milestones: 1.6.4, 1.6.5 Feb 14, 2019
@vania-pooh vania-pooh modified the milestones: 1.6.5, 1.6.6 Jun 24, 2019
@vania-pooh vania-pooh modified the milestones: 1.6.6, 1.6.7 Oct 12, 2019
@vania-pooh vania-pooh modified the milestones: 1.6.7, 1.6.8 Mar 24, 2020
@vania-pooh vania-pooh modified the milestones: 1.6.8, 1.7.0 May 16, 2020
@vania-pooh vania-pooh modified the milestones: 1.7.0, 1.7.1 Feb 14, 2023
@vania-pooh vania-pooh modified the milestones: 1.7.1, 1.7.2 Dec 20, 2023
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

2 participants