![]() ![]() "application/msword, application/csv, application/ris, text/csv, image/png, application/pdf, text/html, text/plain, application/zip, application/x-zip, application/x-zip-compressed, application/download, application/octet-stream") tPreference("", downloadsDir.getAbsolutePath()) Step 2: Initialize FireFoxDriver using FirefoxProfile File downloadsDir = new File("") įirefoxProfile profile = new FirefoxProfile() Set the Action type as ‘Save File’ for PDF. Open Firefox browser and navigate to Tools -> Options Step 1: Update the setting in Firefox browser. We can handle the download popup in Firefox browser using Firefox browser settings and Firefox Profile setting using WebDriver.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |