Skip to content

Use Edge browser when webshot()? #49

@kang37

Description

@kang37

I use Edge browser, without Chrome on my mac. I tried the example code in the help document, webshot("http://rstudio.github.io/leaflet", delay = 0.5), and it said:

Error in rethrow_call(c_processx_exec, command, c(command, args), pty,  :  
cannot start processx process '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' (system error 2, No such file or directory) @unix/processx.c:610 (processx_exec)

Then I installed Chrome, and the code works perfectly. But I wonder if it is possible to change the default browser of webshot() to Edge browser (with no Chrome installed on the mac)? Here, though, it says, "You also need to have the Chrome browser installed on your system. You can also use other browsers based on Chromium, such as Chromium itself, Edge, Vivaldi, Brave, or Opera."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions