-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHANTOMJS_RESOURCE hardcoded, 1.9.8 not working #28
Comments
Yeah, if you want to use an older version of PhantomJS you need to use the respective version of |
Your readme states this: // enforce resolver to use given phantomjs version
capabilities.setCapability("phantomjs.binary.version", "2.1.1"); This makes me assume that I can use So the solution you are suggesting is to use an older version? Is there a table where I can see which versions is suggested for PhantomJS 1.9.8? |
well, yeah this property specifies which version of PhantomJS binary should be fetched, but the internal logic has been changed to reflect the latest version without taking care of backward compatibility. Looking at the code, the compatible version of |
Seems to be not the only problem, as there is no linux-binary for PhantomJS This makes me thinking about not creating some PR for changing this (or adding some adjustment-feature), but for just adding some note/compatibility-matrix to the README. How do you think about this @MatousJobanek ? |
As for the PhantomJS May I have a question? Which project/framework do you use for writing the UI tests? This is "only" for getting the binary, so I'm asking what do you use for getting it into the code. Do you use Arquillian Drone with Graphene or something else? |
So this will end up in some "readme-only" pull-request, I can live with that. Actually we are using this for cucumber-tests to check some internal customer project. Plan was to boot some webdriver-instance (it was phantomjs) and then execute our cucumber-magic, without any other arquilian-magic. (Personally I do like your stuff, using it as often as I can, but this project does not need it, yet). As working with PhantomJS is a pain to itself (old, lots of bugs, not maintained anymore), I started some (yet unfinished) project, which downloads Chromium and Webdriver: https://github.com/FibreFoX/headless-cr24 |
Unfortunately, there is no The reason why I had asked is that I don't use if you send the PR with the change of the README, I'll be happy to merge it to provide more information to any other user |
With older 1.9.x versions of PhantomJS, the binary is NOT inside some "BIN"-folder within the JAR-archive.
arquillian-phantom-driver/src/main/java/org/jboss/arquillian/phantom/resolver/maven/MavenPhantomJSBinaryResolver.java
Line 31 in 48a22f8
Stacktrace:
How can
PHANTOMJS_RESOURCE
be overridden/changed? Do I need to use an older version ofarquillian-phantom-driver
for using older phantomjs-versions?The text was updated successfully, but these errors were encountered: