GithubHelp home page GithubHelp logo

emyphan / selenium-webdriverjs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hacklschorsch/selenium-webdriverjs

0.0 2.0 0.0 581 KB

WebdriverJS from SeleniumHQ SVN, compiled & packaged for npm

License: Other

JavaScript 99.33% Shell 0.67%

selenium-webdriverjs's Introduction

UPDATE: Selenium HQ is now providing an official NPM package of its own, rendering this project obsolete. See https://npmjs.org/package/selenium-webdriver and https://code.google.com/p/selenium/wiki/WebDriverJs#Installing_from_NPM.

selenium-webdriverjs

Build Status

This is an npm package of a JavaScript binding for Selenium2 (AKA. WebDriver) from SeleniumHQ (see http://code.google.com/p/selenium/wiki/WebDriverJs).

Of the different available options to drive Selenium2 from node.js I liked that adapter the most. Unfortunately, there was no npm package for it. This is what I am trying to solve.

Documentation

Have a look at the wiki of WebdriverJS at the Google Code page.

You can use selenium-webdriverjs like this:

var webdriver = require('selenium-webdriverjs'),
    client    = new webdriver.Builder().build();

client.get('http://github.com');

See this small UI testsuite where I used the mocha test runner to run Selenium2 tests.

Files

  • selenium-webdriver/*
    • The compiled output from the Selenium2 guys. This is what you get when you run "./go //javascript/node:selenium-webdriver" in the checked-out Subversion repo of Selenium2.
  • COPYING
    • Symlink to Selenium WebdriverJS's Apache License
  • update.sh
    • Updates the package: Pulls SeleniumHQ GIT master, compiles selenium-webdriver for node and updates the package.json version string.
  • tests/*
    • Beginnings of a self-test suite. Integrated with TravisCI.

Issues

If you have any suggestions (or maybe even a finished patch) for the package I'd be most delighted to add it. I also welcome other contributors or willing maintainers.

Anything relating to the fine code itself please see the issue tracker at the Google Code page.

License

I put my work (the mere packaging) in the public domain, or, failing this (in countries where this is not possible) publish it under the same license as the original code (Apache License).

selenium-webdriverjs's People

Contributors

hacklschorsch avatar

Watchers

James Cloos avatar Van Phan avatar

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.