Persistent Selenium rewritten in JavaScript
Go to file
John Bintz 3e34842eb2 0.1.0 2016-03-11 11:30:43 -05:00
bin Initial commit. 2015-06-08 18:49:53 -04:00
.gitignore Initial commit. 2015-06-08 18:49:53 -04:00
README.md Use the right Selenium URL 2015-06-08 18:54:19 -04:00
index.js Pass along extra command line args to the Selenium Java server 2016-03-11 09:58:15 -05:00
package.json 0.1.0 2016-03-11 11:30:43 -05:00

README.md

Persistent Selenium in JavaScript

I'm moving to a more JavaScript-heavy environment but still wanted to preserve my development mode integration testing setup. Since I have no Capybara, I made this. It wraps selenium-standalone with an Express proxy that intercepts calls to create and destroy sessions, and ensures there's only ever one session that is never destroyed. Works great with Testium and allows me to recreate my RSpec/Cucumber + Capybara setup purely in JavaScript!

Using

npm install -g persistent_selenium, then persistent_selenium. Point your Selenium client to http://localhost:4443/wd/hub. Test away!