Skip to content

Phantomjs node #373

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

Merged
merged 4 commits into from
Feb 22, 2017
Merged

Phantomjs node #373

merged 4 commits into from
Feb 22, 2017

Conversation

marten-cz
Copy link
Contributor

Added PhantomJS node with updated build process to follow current directory structure.

Solution is working with latest selenim docker builds (3.0.1-fermium). Older version 1.9.8 is used because it was stable and is working.

Problems with newer versions:

  • 2.0.0 - was not stable enough
  • 2.1.0 - no precompiled package, problem compiling
  • 2.1.1 - precompiled package is not able to connect to selenium hub PhantomJS Bug #14257, it's not possible to compile the package on Debian/Ubuntu PhantomJS Bug #14677.
  • 2.5.0 - not tested, in beta

Docker images uploaded to https://hub.docker.com/r/martencz/node-phantomjs/

@ddavison
Copy link
Member

Wow! hey! Thanks for this! Give me a while to merge this in, as work is very busy right now, and i'd like to see exactly how this works before I merge it in.

It looks very promising, and looks like you have covered everything.

Thanks again! 👍

@ddavison ddavison self-assigned this Jan 27, 2017
@ddavison
Copy link
Member

ddavison commented Feb 2, 2017

i noticed that there wasn't a test written for this - could/would you try your hand at writing a test for this new node?

@marten-cz
Copy link
Contributor Author

I'll have a look and update the PR.

@marten-cz
Copy link
Contributor Author

Smoke test added

@marten-cz
Copy link
Contributor Author

I'll have a look at the failing test on travis, it's working on my machine. Will check on some vanilla instalation.

@ddavison
Copy link
Member

ddavison commented Feb 5, 2017

yea, sometimes it can be flaky. for the most part, it's stable. i'll run the tests from my computer

@marten-cz
Copy link
Contributor Author

Fixed.

Please have a look at the last commit. Added version what should be tested as parameter to test.sh.

@ddavison
Copy link
Member

ok, let's get this guy merged for 3.1.0. could you by chance fix the conflicts, then i'll merge this in?

Run tests for docker containers with currently build
version. Containers should not be downloaded from
docker repository, but be build before tests.
@marten-cz
Copy link
Contributor Author

Conflicts resolved

@ddavison ddavison merged commit acee8a1 into SeleniumHQ:master Feb 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants