Hey Phillip,
Very valid point of yours. Though, I had thought the API kind of “has the high ground” over incognito mode.
I happen to notice that clearing cookies via a JavaSnippet Node and:
driver.manage().deleteAllCookies();
did only work for the site you currently navigated to but if you visited multiple domains, it does not apply for all. Navigating to chrome://settings/clearBrowserData
and trying to delete the data that way doesn’t work as the clickable element can’t be found.
Therefore I attempted to fallback into incognito as when that webdriver gets terminated, so do it’s cookies. That, apparently, failed which is why I submitted this ticket.
Worth to note, I did some testing and, albeit being inconvenient, I re-initate the webdriver now. It adds a minuscule performance penalty but that’s the most straight way forward.
Cheers
Mike