etaoin

Mario C. 2019-10-01T21:13:59.003900Z

When you call (go driver url) does this create a new tab/session/window?

Mario C. 2019-10-01T21:15:18.005400Z

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.

Mario C. 2019-10-01T21:16:03.006Z

It doesn't create a new window or a new tab. Is the window object being destroyed on a call to go?

vemv 2019-10-01T21:16:37.006100Z

are you running in headless mode? you can go headful for answering such questions

vemv 2019-10-01T21:17:12.006300Z

sure, go literally means navigating to a new URL right? so, logically, all JS is lost

Mario C. 2019-10-01T21:17:36.006600Z

ahh, I see

Mario C. 2019-10-01T21:17:57.006900Z

Thanks, I figured that what was happening

Mario C. 2019-10-01T21:18:05.007100Z

wasn't sure though