webdriver-js
webdriver-js copied to clipboard
Cannot run examples
I am dying to try out this framework but as soon as I try to run the examples, I get the following...
new-host-2:dmachi-webdriver-js-e19e3ee stringa$ node /Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules.js ./lib/tests.js Downloading http://github.com/kriszyp/promised-io/zipball/master Downloading http://github.com/kriszyp/commonjs-utils/zipball/master Downloading https://github.com/kriszyp/patr/zipball/master Downloading https://github.com/kriszyp/promised-io/zipball/master Downloading https://github.com/kriszyp/commonjs-utils/zipball/master Downloading https://nodeload.github.com/kriszyp/patr/zipball/master Downloading https://nodeload.github.com/kriszyp/promised-io/zipball/master Downloading https://nodeload.github.com/kriszyp/commonjs-utils/zipball/master
node.js:134 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: Error: Target path lib/promise.js not found in archive http://github.com/kriszyp/promised-io/zipball/master at /Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules.js:734:12 at notify (/Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules-utils/promise.js:147:27) at notifyAll (/Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules-utils/promise.js:136:7) at /Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules-utils/promise.js:176:5 at notify (/Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules-utils/promise.js:147:27) at notifyAll (/Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules-utils/promise.js:136:7) at /Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules-utils/promise.js:176:5 at notify (/Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules-utils/promise.js:147:27) at notifyAll (/Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules-utils/promise.js:136:7)
Nodules doesn't work with the later versions of node, so I'll need to convert these modules over to not use nodules and add them to npm. Will try to get that taken care of as soon as I have a chance.
On Dec 27, 2011, at 7:10 PM, Sean Stringer wrote:
I am dying to try out this framework but as soon as I try to run the examples, I get the following...
new-host-2:dmachi-webdriver-js-e19e3ee stringa$ node /Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules.js ./lib/tests.js Downloading http://github.com/kriszyp/promised-io/zipball/master Downloading http://github.com/kriszyp/commonjs-utils/zipball/master Downloading https://github.com/kriszyp/patr/zipball/master Downloading https://github.com/kriszyp/promised-io/zipball/master Downloading https://github.com/kriszyp/commonjs-utils/zipball/master Downloading https://nodeload.github.com/kriszyp/patr/zipball/master Downloading https://nodeload.github.com/kriszyp/promised-io/zipball/master Downloading https://nodeload.github.com/kriszyp/commonjs-utils/zipball/master
node.js:134 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: Error: Target path lib/promise.js not found in archive http://github.com/kriszyp/promised-io/zipball/master at /Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules.js:734:12 at notify (/Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules-utils/promise.js:147:27) at notifyAll (/Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules-utils/promise.js:136:7) at /Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules-utils/promise.js:176:5 at notify (/Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules-utils/promise.js:147:27) at notifyAll (/Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules-utils/promise.js:136:7) at /Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules-utils/promise.js:176:5 at notify (/Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules-utils/promise.js:147:27) at notifyAll (/Users/stringa/Downloads/kriszyp-nodules-6837b51/lib/nodules-utils/promise.js:136:7)
Reply to this email directly or view it on GitHub: https://github.com/dmachi/webdriver-js/issues/2
Is there a way to use npm for this? This implementation looks much better than webserverjs because you can also use findElement(By.partialLinkText("Agenda")
Yah, I can use npm for this. I let this drop off my plate because I thought there were others doing the same thing and already up to date. I can probably get this updated though if it would be useful.
that would be great if you could fix it so npm can be used!
After some checking this seems to work also: https://github.com/hacklschorsch/selenium-webdriverjs
Have not checked completely if this is all I need, but seems to be able to load htmlunit (headless) browers as well
Yeah, I thought there was something else out there. Though I seem to recall that at the time there were none that were meant to be used async (or with promises). It shouldn't be hard to update to npm to get mine running, it just needs a package.json setup and publishing. I need to see if it still works against the latest web driver code as well.
On 19 Oct 2012, at 15:17, mogeneti wrote:
After some checking this seems to work also: https://github.com/hacklschorsch/selenium-webdriverjs
Have not checked completely if this is all I need, but seems to be able to load htmlunit (headless) browers as well
Reply to this email directly or view it on GitHub: https://github.com/dmachi/webdriver-js/issues/2#issuecomment-9614263