Comments (6)
@svenagnew: I found the issue to be related to the glibc
library that isn't available on Alpine via the main repos. There is https://github.com/sgerrand/alpine-pkg-glibc that you can use to compile with, but for chromedriver
, it needs version 2.0, that repo only has 2.22+ available. Ended up removing the chromedriver-helper
gem and just using the Alpine supplied version via apk add chromium-chromedriver
. Everything is now working (finally).
from chromedriver-helper.
I'm interested if anyone thinks this implies any missing behavior in chromedriver-helper
? I just merged better handling for platform detection, and there's a discussion at #51 around how the gem should handle unsupported platforms ... which is tangentially related to platforms that already have chromedriver
installed.
from chromedriver-helper.
We are seeing the same issue without the OS chromedriver installed. When doing ls -al
, all appears fine (i.e. executable is present and has x
flag):
# ls -al /root/.chromedriver-helper/2.33/linux64/
total 12748
drwxr-xr-x 2 root root 4096 Dec 5 13:31 .
drwxr-xr-x 3 root root 4096 Dec 5 13:29 ..
-rwxr-xr-x 1 root root 8950080 Dec 5 13:31 chromedriver
-rw-r--r-- 1 root root 4091651 Dec 5 13:31 chromedriver_linux64.zip
When trying to run it manually, the following happens:
# /root/.chromedriver-helper/2.33/linux64/chromedriver
sh: /root/.chromedriver-helper/2.33/linux64/chromedriver: not found
from chromedriver-helper.
@cobusbernard - good catch.
I'll remove and install directly as you suggest. Thanks for the heads up.
from chromedriver-helper.
You saved my life.
With apk add chromium-chromedriver
I've got a working chromedriver in docker/kubernetes with jenkins, after 3 days of research.
from chromedriver-helper.
Closing as it's not clear if there's anything the gem should be doing differently. Happy to re-open if people would like to discuss.
from chromedriver-helper.
Related Issues (20)
- unknown error: call function result missing 'value' for Selenium Send Keys even after chromedriver upgrade HOT 1
- Chromedriver picks up wrong version HOT 13
- chromedriver-helper breaks projects not using it HOT 20
- No options to set log log-level and log-path HOT 6
- Using with Rails: "uninitialized constant Selenium" HOT 5
- Use LATEST_RELEASE file rather than guessing HOT 8
- Chromedriver helper downloading weird chromedriver version number HOT 2
- NameError: uninitialized constant Chromedriver in rails & rspec config HOT 5
- Mention "require" in README? HOT 3
- certificate verify failed (self signed certificate in certificate chain) (OpenSSL::SSL::SSLError) HOT 9
- Not executable: chromedriver-helper HOT 1
- No output with 'which chromedriver' after installing 2.1.0 HOT 3
- Not working in rspec (calling in rails_helper.rb) HOT 1
- Can't get this working in trivial case HOT 7
- Allow setting an environment variable to skip installation, for systems on which a compatible chromedriver is already installed HOT 11
- Use a compatible version of chromedriver HOT 8
- Version selection with LATEST_RELEASE is deprecated HOT 17
- Seeking new maintainer HOT 16
- Doc question HOT 1
- NOTICE: Ending support for this gem HOT 15
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 chromedriver-helper.