etaoin 2019-10-01

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

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

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?

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

Thanks, I figured that what was happening

wasn't sure though