I know this question was probably answered already, but all the answers I found are either old and involve using Selenium APIs that are deprecated, or require a third-party tool, which is overkill for what I want to accomplish.
I need to download a PDF from a webpage, avoiding the Firefox "save as" pop-up window. I know it's possible by creating a new Firefox profile, but the documentation is extremely obscure on how to do it.
How do I create a Firefox profile using Selenium (Python 3.6 if possible, although I could fight my way through another language if there's a proper explanation) that allows me to download a PDF from a pop-up without needing to deal with the actual pop-up.
PS: I also tried using the Python module Requests, but was unsuccessful.