Comments (5)
@AlexWayfer does https://download-chromium.appspot.com/ show correct browser for your OS? You don't need to download Chromium, Chrome should also work if you have it installed.
I didn't want to overcomplicate things with downloading a browser like Puppeteer does, I don't like this approach. You can also set env vars or even do it in the code to setup correct path to the browser for Ferrum, how you get the browser is part of the provisioning of your system not part of installing a gem.
from ferrum.
@AlexWayfer does https://download-chromium.appspot.com/ show correct browser for your OS?
Doesn't matter, there is unstable build:
This is a raw build of Chromium for Linux x64, right off the trunk. It may be tremendously buggy.
I don't want to use unstable browser in my code.
how you get the browser is part of the provisioning of your system not part of installing a gem.
I think, if a gem requires a browser (can't work without it) — it's a part of the gem too.
Sadly, but as you wish.
from ferrum.
There are many libs around with this philosophy minimagick is only one of them it expects mogrify command to be in PATH. Ferrum doesn't have to use bleeding edge Chromium, don't you have stable Chrome installed?
from ferrum.
Ferrum doesn't have to use bleeding edge Chromium, don't you have stable Chrome installed?
I have, but some collaborators can be against installed Chrome (or Chromium) on their computers, or, more important, it can be harder to use in CI. Oh, though it can be installed as package for specific CI's image via standard commands… OK, I think it's not critical, it'd be just simpler. But… also now I'm understanding that library which installing "the latest available Chromium" locally and uses it — this version of Chromium will be stuck, so after a year of package installation you will use old Chromium even if there is fresh version on your computer. OK. Thank you for responses. I just wanted to clarify, discuss, consider both options.
from ferrum.
Good good, yes I still think it's overkill. Thanks
from ferrum.
Related Issues (20)
- Send Emulation commands to Page HOT 1
- Ferrum::BinaryNotFoundError when using docker for chrome HOT 1
- Can I allow Page.go_to take additional wait parameter?
- Cannot call `exit` from within `.on()` blocks HOT 2
- Exceptions within `.on()` blocks are mysteriously ignored HOT 1
- Browser start fails with JRuby on Windows
- Chrome error: "Unable to create temporary file" on Windows with JRuby HOT 1
- Errno::ECONNREFUSED on browser initialization HOT 3
- Headless new gives Ferrum::NoSuchPageError on screenshot HOT 2
- consider using === in network blacklist matching
- Doesn't work on ruby 3.2 HOT 1
- Saving via browser.mhtml and via cmd+S differs a lot on Youtube HOT 3
- Network.loadingFailed error preventing file from downloading HOT 13
- Conditionally Render Page header and footer template HOT 2
- browser.quit doesn't close session HOT 6
- Include type and stackTrace in logging for console API
- `wait_for_network_idle` failing due to pending requests on previous page HOT 1
- Remove `disable-gpu`default flag for Apple Silicon HOT 3
- authenticate current_user in ferrum browser
- Hang/Timeout in dialog HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ferrum.