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

_WD_GetSession - Multiple Sessions #63

Open
seadoggie01 opened this issue Apr 24, 2021 · 4 comments
Open

_WD_GetSession - Multiple Sessions #63

seadoggie01 opened this issue Apr 24, 2021 · 4 comments
Labels
upstream issue with upstream webdriver
Milestone

Comments

@seadoggie01
Copy link
Contributor

This doesn't appear to work with multiple sessions running. It returns the value of the response from the last session created.

Also, this causes $sSession and $sFuncName to go unused in the function :) Not sure why the commented out code, but I'm guessing this is a bit of a WIP? It claims to return a dictionary object, but returns a string as far as I can tell.

@Danp2
Copy link
Owner

Danp2 commented Apr 24, 2021

The Get Session functionality was added and then removed from the W3C draft spec, so the code is commented until they determine how this should function. See w3c/webdriver@35df53a for details.

Meanwhile, I temporarily changed the code to return the information that is available. Probably should update the function header with these details.

@Danp2 Danp2 added the upstream issue with upstream webdriver label Aug 22, 2021
@mlipok
Copy link
Contributor

mlipok commented Mar 2, 2023

@seadoggie01 can you please prepare some small reproducer ?

@seadoggie01
Copy link
Contributor Author

@mlipok No. This is from 2 years ago and I hardly remember what I was doing 😁

If I had to guess, the old documentation said something about retrieving a dictionary of sessions and I wanted to use it to close off extra/errored-out sessions. Now, I write sessions to a global ini file in case I need to close them from another script.

I'd be fine with closing this issue.

@Danp2
Copy link
Owner

Danp2 commented Mar 2, 2023

Nothing to see here until the Get Session functionality is reintroduced to the specs.

😝

@Danp2 Danp2 added this to the Future milestone Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream issue with upstream webdriver
Projects
None yet
Development

No branches or pull requests

3 participants