Hi,
is there a way to open new TAB in browser (Firefox, Chrome, whatever...) in incognito mode?
Not from begining of test. I am opening new tabs like this:
# Open additional windows CHECKED
driver.find_element_by_xpath("//a[contains(text(),'Presentation view')]").click()
handles = driver.window_handles
driver.switch_to_window(handles[0])
driver.find_element_by_xpath("//a[contains(text(),'Participant view')]").click()
handles = driver.window_handles
driver.switch_to_window(handles[0])
driver.find_element_by_xpath("//a[contains(text(),'Participant view')]").click()
handles = driver.window_handles
driver.switch_to_window(handles[0])
driver.find_element_by_xpath("//html/body/div[5]/div[2]/ul/li[4]/a").click()
then I know which one window handle is which TAB, but I need to open some of these TABs in incognito mode.
is it possible?
thank you,
Kamil