Closed Yukonjess101 closed 9 years ago
Update: I attempted to use an earlier version of the chromedriver and the selenium jar but I continue to get the error. It seems to be something specific to my machine (I tried installing new to a different Win 7 box and everything ran as expected), but I'm not sure what would be causing this to happen.
Again, thanks for the help!
Unfortunately it's hard for us to say anything useful about machine-specific issues other than "have you tried doing a clean install?" I haven't seen this particular issue before - did you change anything else when you upgraded chromedriver?
@juliemr Think I have something similar. Running element explorer, I type " element(by...blablah)" and I'm able to interact with it, no problem.
But then if I try to do "var button = element(by...blahblah)" then I get the "There was a webdriver error: TypeError Cannot call method 'then' of undefined"
Running ChromeDriver 2.12.301325 & Selenium standalone 2.44
Think I also have something similar. If you type nothing, and press 'Enter', you got error.
> (press enter)
There was a webdriver error: TypeError Cannot call method 'then' of undefined
>
same here, element explorer essentially completely broken.
@juliemr if we can any logs/traces/whatever let us know
@FrankyBoy Can you let me know what's the exact command you used for browser.get? browser.get('http://www.angularjs.org')
works for me. Note if you drop the http
, i.e. browser.get('www.angularjs.org')
, it will not work. However, this is same behavior as protractor itself.
For autocomplete and the issue with assignment/pressing enter, just fixed it: https://github.com/angular/protractor/commit/6a9b87cac9b85cde6ae464eafe4abbba27e4fe4f Please sync to master to try it or wait for the next release.
@hankduan sry, didnt get that reply ... I think I tried both. The strange part was that there seemed to be no communication ongoing between the webdriver-manager and the element-explorer (or at least no output produced in the webdriver-manager console which is usually super-spammy ;))
In any case, just upgraded to 1.5 and went through the list of issues raised ...
so looks all good to me :+1:
Fix has been released in 1.5.0, closing!
When I attempt to run the element explorer I run into this error:
"there was a webdriver error: TypeError Cannot call method 'then' of undefined"
I'm runing Node 0.10.33 (x64), protractor 1.4.0, chromedriver 2.12.301325. This was working normally before I updated the chromedriver to the latest version. Has anyone seen this or experienced this issue?
I'm going to try and downgrade the chromedriver back to 2.10 and see if it resolves it.
Thanks in advance for any help!