This tends to happen because file defaults are set at an OS level. Check if the PDF viewer you have installed has any setting that you can change that will prevent it from communicating with Chrome, or any other browser you might have installed. Of course, with this setting set the way it is, you simply cannot open PDF files in Chrome any more. Your email address will not be published.
This site uses Akismet to reduce spam. Learn how your comment data is processed. Find centralized, trusted content and collaborate around the technologies you use most. Connect and share knowledge within a single location that is structured and easy to search. Since chrome 57 the automatic pdf preview no longer works as a plugin, there's now a setting you can change to make this work.
You can actually inspect the name of the pref by inspecting the chrome's own preference dialog, under "Content Settings" the flag that says "Open PDF files in the default PDF viewer application. It seems that newer versions of browsers are coming with built-in ability of displaying PDF files inside browser. Refer this for more information, though it is for firefox profile but still a good read.
Hope that solves your issue, else you may need to downgrade your chrome to make it work. Let me know if you have any queries.
If so, it is probably Abode's behavior you need to modify. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How to download a pdf file in chrome using selenium webdriver Ask Question. Asked 6 years, 4 months ago. Active 1 year, 11 months ago.
Viewed 33k times. I want to download pdf in chrome using selenium. Improve this question. Danielson 2, 2 2 gold badges 26 26 silver badges 48 48 bronze badges. To proceed, select your browser from the list below and follow the instructions. To change the name of a PDF file you want to download, right-click the download link and select Save As.
However, downloading a PDF is still possible. By default, Google Chrome opens a PDF file in the browser window instead of saving it to the downloads folder.
0コメント