Closed DanielaValero closed 10 years ago
If it helps, when running the elementexplorer.js and trying to perform an action over an element. i.e:
element(by.xpath('//button[contains(@style,"opacity")]')).click()
It throws:
There was a webdriver error: undefined undefined
it works ok when disabling the sync
I've updated Protractor's test suite to use Angular 1.2.9, so this is not an Angular version problem. Have you check out these resources for timeouts?
I've checked with the FAQ's and used the debugger and still get the issue. When using: browser.ignoreSynchronization = true;
it works. I'd like to understand better, but really don't get where is the error
Daniela, I was seeing the same problem until I realized that I needed to set protractor.getInstance().rootEl to the selector of the element where ng-app is applied. Are you applying ng-app to a descendant of body?
Hi Kent, I am applying the ng-app to the html tag and in the config I set the rootElement to html as well.
Maybe this is a native webdriver error - the ElementExplorer problem looks suspicious.
Can you try upgrading to the latest version, and making sure you've run webdriver-manager update
(or have the latest version in some other way)?
Haven't heard anything for a while - can this issue be closed?
yes
@DanielaValero how did you resolve your problem? It seems like I'm facing the same (same error, same use case, same ng root element)
same issue here as well. ng-app is on html and rootElement is set to 'html' in my protractor config
Coming from issue #325
Issue description:
When ignoring synchronisation the tests correctly, but then need to handle async calls manually. When synchronisation is not ignored tests are executed but produce a timeout error
this is an example:
Config file:
and partial
Update:
And the stacktrace: