When you call (go driver url)
does this create a new tab/session/window?
The reason I ask is because I am adding a variable like this (js-execute driver "window.testflag = false;"
and when I look in the console, I can see that the property exists. But if I call (go driver url)
and look for window.testflag
in the console, it is undefined.
It doesn't create a new window or a new tab. Is the window object being destroyed on a call to go?
are you running in headless mode? you can go headful for answering such questions
sure, go
literally means navigating to a new URL right? so, logically, all JS is lost
ahh, I see
Thanks, I figured that what was happening
wasn't sure though