WebDriver Chrome Browser: Avoid 'Do you want chrome to save your password' pop up

前端 未结 8 1270
故里飘歌
故里飘歌 2020-12-11 01:07

Every time my webdriver tests login into the application, \'Do you want chrome to save your password\' pop up appears.. Is there a way to avoid this??

Please help.

8条回答
  •  轮回少年
    2020-12-11 01:26

    You can also start the chromedriver in incognito mode to stop the infobars from appearing. Please note that the experience will be like the incognito mode. Command will be

    chrome.exe --incognito if you are running from command line you can add --incognito to chromeswitch array for executing from webdriver.

提交回复
热议问题