Downloading a pdf using RSelenium

后端 未结 1 1654
囚心锁ツ
囚心锁ツ 2021-01-01 08:07

What I am trying to do with RSelenium package is,

Step:1 Access a website - My own electric utility provider

Step:2 Access my account by explici

相关标签:
1条回答
  • 2021-01-01 08:33

    I found the answer on continuous research.

    Firstly check whether Rtools is installed (Found the answer using this link)

    Then updated my program

    cprof<-makeFirefoxProfile(list(
      "pdfjs.disabled"=TRUE,
      "plugin.scan.plid.all" = FALSE,
      "plugin.scan.Acrobat" = "99.0",
      "browser.helperApps.neverAsk.saveToDisk"='application/pdf',
      ))
    remDr <- remoteDriver(extraCapabilities=cprof)
    

    Trying still to change the download folder which I am not able to find yet. I found the answer from THIS link

    0 讨论(0)
提交回复
热议问题