Day: August 26, 2018

Handling “This type of file can harm your computer.” Windows Dialog Box In Chrome Browser

Hello Folks, You might see below dialog box when you download any file in Chrome browser and it finds that it is harmful for your computer: This is a window/browser popup which can not be inspected. You can suppress this warning message using ChromeOptions. You need to set “safebrowsing.enabled” as true. Java Code: Note: Above […]

How To Change Default Download Directory For Firefox Browser in Selenium WebDriver

Hello Folks, Every browse has its default download directory. Whenever you download a file, it gets downloaded in default download directory. Generally default download directory is as below: C:\Users\<UserName>\Downloads You can always change it through browser setting. When selenium script downloads any file, it will also be downloaded in same default download directory. Note: If […]

Please wait...

Subscribe to new posts to become automation expert

Want to be notified when my new post is published? Get my posts in your inbox.