in foxpuppet/windows/browser/window.py [0:0]
def is_private(self) -> bool | Any:
"""Property that checks if the specified window is private or not.
Returns:
bool: True if this is a Private Browsing window.
"""
self.switch_to()
with self.selenium.context(self.selenium.CONTEXT_CHROME):
return self.selenium.execute_async_script(