Comments (6)
Yeah, I can't think of a reason why you wouldn't be able to do that.
from node-headless.
node-headless & the ruby headless gem are quite similar.
from node-headless.
Thanks! I'll try it out, wish there was a nodejs tutorial on this , or maybe ill have to make one haha
from node-headless.
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?
from node-headless.
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.
from node-headless.
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.
from node-headless.
Related Issues (9)
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 node-headless.