Hello!
Is it possible to open a browser instance in anonymous mode?
Thanks!
Hello!
Is it possible to open a browser instance in anonymous mode?
Thanks!
@Diego.Pereira yes…
For the Desktop Bot you can use the keyboard shortcut for it or use the browser menu to open a new incognito page.
For the Web Bot, every time you launch it a new session/profile is created so nothing is really saved or persisted between sessions. If that is not enough and you really want incognito you can pass additional flags to the driver:
# For Firefox
from botcity.web.browsers.firefox import default_options
def_options = default_options(self.headless, self.download_folder_path, None)
def_options.add_arguments("-private")
self.options = def_options
# For Chrome
from botcity.web.browsers.chrome import default_options
def_options = default_options(self.headless, self.download_folder_path, None)
def_options.add_argument("-incognito")
self.options = def_options
I helped me! Thanks!