Replies: 1 comment
-
Hi, I think that property on the struct used to be used when we had PhantomJS and it was operated with a pool of instances. Currently, it doesn't really seem to be used at all in the code base. With that said, each session belongs to the test process that started it. I'm not sure exactly what you are trying to do, but each session has it's own ID given to it by the webdriver, so you could use that to uniquely identify each session. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I noticed that the Wallaby.Session type dictates that the
:server
field should be apid
or:none
:wallaby/lib/wallaby/session.ex
Line 10 in 881b716
but in Wallaby.Chrome the value assigned to that field seems to be a module name:
wallaby/lib/wallaby/chrome.ex
Line 231 in 5557024
Should that be a call to
self()
instead of the module name? Or am I misunderstanding something?The reason this came up is because I am writing a feature test with multiple sessions for a LiveView component and I'm using the process ids to identify different users but am unable to find a way of getting each session's process id.
I appreciate your help, thank you!
Beta Was this translation helpful? Give feedback.
All reactions