Skip to content
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

Selenium #15

Open
nousacademy opened this issue Feb 8, 2015 · 6 comments
Open

Selenium #15

nousacademy opened this issue Feb 8, 2015 · 6 comments

Comments

@nousacademy
Copy link

Would it be possible to run this with Selenium as a headless browser?? As shown here http://elementalselenium.com/tips/38-headless, except in nodejs??

@kesla
Copy link
Owner

kesla commented Feb 8, 2015

Yeah, I can't think of a reason why you wouldn't be able to do that.

@kesla
Copy link
Owner

kesla commented Feb 8, 2015

node-headless & the ruby headless gem are quite similar.

@nousacademy
Copy link
Author

Thanks! I'll try it out, wish there was a nodejs tutorial on this , or maybe ill have to make one haha

@arnauorriols
Copy link

Hi. I have the same need. The principal difference between node-headless and the ruby headless gem is the interface; the ruby version uses start() and stop(), whereas node-headless uses a CPS approach. With the latter, I can't achieve the same pattern as described in the tutorial linked above, where the start() is called in the before() hook, and the stop() is called in the after() hook. Does anyone have an alternative pattern for using node-headless within a test suite?

@sean-hill
Copy link

Hey @nousacademy, did you ever solve this problem? I'm looking to use this selenium repo to run on my linux server, but I know I need xvfb running in the background, just not sure how.

@nousacademy
Copy link
Author

Hi @sean-hill I actually didn't get a chance to do it. I was trying it this was as an alternative to JSdom, because I could never install JSdom properly. When I do it I'll post an example.

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

No branches or pull requests

4 participants