I am trying to download a PDF file using Selenium with PERL (Selenium::Chrome) and I am having trouble getting the preference "plugins.always_open_pdf_externally" set to true. When I set this preference in the constructor, it does not get implemented or set in the Preferences for Chrome. Interestingly enough, if I misspell the setting (i.e. "plugins.always_n_pdf_externally") I do see the setting show up in the Preferences file...but I can not seem to get "plugins.always_open_pdf_externally" to show up there or ever get set.
Does anyone know how to get this set properly in Perl with Chrome 102? Thank you for any assistance!