GithubHelp home page GithubHelp logo

Selenium about node-headless HOT 6 OPEN

nousacademy avatar nousacademy commented on July 29, 2024
Selenium

from node-headless.

Comments (6)

kesla avatar kesla commented on July 29, 2024

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

from node-headless.

kesla avatar kesla commented on July 29, 2024

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

from node-headless.

nousacademy avatar nousacademy commented on July 29, 2024

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.

arnauorriols avatar arnauorriols commented on July 29, 2024

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.

sean-hill avatar sean-hill commented on July 29, 2024

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.

nousacademy avatar nousacademy commented on July 29, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.