How To Enable Private Browsing For Safari In The Protractor Configuration
I've been searching for a way to enable private browsing for Safari in the protractor conf file. I have gotten chrome to work with private browsing, with the below chromeOptions:
Solution 1:
According to the WebDriver's documentation, what you are looking for is the
cleanSession
property. It makes sure the session has no cookies, cache entries, local storage, or databases.
Post a Comment for "How To Enable Private Browsing For Safari In The Protractor Configuration"