I need to modify a JavaScript that runs on a webpage. The procedure described here Override Javascript file in chrome works fine if I set it up manually, however, I would like to set up the override programatically using Selenium (either Geckodriver or Chromedriver) and Python. Is that at all possible? I have the modified JavaScript on my local computer.
↧