GithubHelp home page GithubHelp logo

Can not download chrome at Launch() about rod HOT 5 CLOSED

go-rod avatar go-rod commented on July 19, 2024
Can not download chrome at Launch()

from rod.

Comments (5)

ysmood avatar ysmood commented on July 19, 2024 1

Published v0.26.2, should work fine now. Please check if you need to reopen it.

from rod.

ysmood avatar ysmood commented on July 19, 2024

That's a sad story 😂. Actually you can config the revision like this:

chrome := launcher.NewChrome()
chrome.Revision = "whatever you want"
bin, err := chrome.Get()
kit.E(err)

l := launcher.New().Bin(bin).Launch()

Or just set the Bin(your_local_chrome_bin) directly.

from rod.

ysmood avatar ysmood commented on July 19, 2024

Seems like they only keep syncing the revision that puppeteer.js uses. Since it's an npm mirror.

Maybe we should find a better mirror.

BTW, if you installed the chrome on your local, it should work properly without downloading a new one. So you don't use the default location to install Chrome right?

from rod.

ysmood avatar ysmood commented on July 19, 2024

Anyway, I'll fix it and add a unit test for China. It shouldn't happen again.

from rod.

zjlx avatar zjlx commented on July 19, 2024

Published v0.26.2, should work fine now. Please check if you need to reopen it.

Now it works fine.

from rod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.