I am curious to know the capabilities of the Chrome browser opened through the code:
driver=webdriver.chromedriver()
Is it same as that of incognito
mode or is there a different kind?
I am curious to know the capabilities of the Chrome browser opened through the code:
driver=webdriver.chromedriver()
Is it same as that of incognito
mode or is there a different kind?
Yes your are correct it just opens a chrome browser with no cache in it like incognito.
To extract the capabilities of the ChromeDriver / Chrome Browser you can use the
capabilities
property which returns a dictionary and you can use the following solution:Code Block:
Console Output: