-
Notifications
You must be signed in to change notification settings - Fork 35
Improve onboarding when using --download-selenium #133
Comments
Global support discussed here: #136 |
When I try this locally without java and without a local chromedriver, I get:
@searls what exactly did you see when trying this locally? How can I reproduce it? |
I am running 2.5.0 When
|
You should be able to reproduce by just running |
When I try removing chromedriver and java, I don't see that error. Are you running that with a local testium? The example makes it appear to be global. |
That was executed with
|
Ah, I managed to reproduce this. Will fix. |
Fix for running without a local chromdriver: #137 |
Closing this issue in favor of linked issues/PRs. |
Today @timwingfield and I had a rocky onboarding experience with an existing project using Testium. It worked fine when we ran the test suite with phantomjs, but when running with
--browser chrome
we got an ENOENT error stat'ing node_modules/testium/node_modules/bin/chromedriver.We didn't know how to proceed so we tried these and they didn't help:
Then we got the same error. It was only once @EndangeredMassa mentioned we should run locally (e.g.
./node_modules/.bin/testium --download-selenium
) that we got to our next error (which was that Java wasn't installed).Thoughts on improving the onboarding? I feel like it would have been helpful if the README told us to run with the local bin, or if the global actually installed locally. Additionally when the bin is missing (but expected), a clearer error message would have been helpful.
The text was updated successfully, but these errors were encountered: