-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Could not find testability for element when use elementor or element explorer #3465
Comments
- provide logging messages to useAllAngular2AppRoots - provide logging messages to set the root element closes angular#3465
I'm gonna be a stickler here - this isn't really a bug. The issue is that you're not giving element explorer enough information to tell how your angular application is set up. You can fix this by passing in a config, which has a But agreed that this behavior is difficult to understand - see comments in the linked issue. We're looking into simplifying. |
- Highlight elements by changing css - Use the rootEl default 'body'. On second attempt, use a default rootEl ''. After the attempt is made, reset the rootEl. closes angular#3465
- Highlight elements by changing css - Use the rootEl default 'body'. On second attempt, use a default rootEl ''. After the attempt is made, reset the rootEl. closes angular#3465
- Highlight elements by changing css - Use the rootEl default 'body'. On second attempt, use a default rootEl ''. After the attempt is made, reset the rootEl. closes angular#3465
- Highlight elements by changing css - Use the rootEl default 'body'. On second attempt, use a default rootEl ''. After the attempt is made, reset the rootEl. closes angular#3465
- Highlight elements by changing css - Use the rootEl default 'body'. On second attempt, use a default rootEl ''. After the attempt is made, reset the rootEl. closes angular#3465
- Highlight elements by changing css - Use the rootEl default 'body'. On second attempt, use a default rootEl ''. After the attempt is made, reset the rootEl. closes angular#3465
- Highlight elements by changing css - Use the rootEl default 'body'. On second attempt, use a default rootEl ''. After the attempt is made, reset the rootEl. closes angular#3465
- Highlight elements by changing css - Use the rootEl default 'body'. On second attempt, use a default rootEl ''. After the attempt is made, reset the rootEl. closes angular#3465
- Highlight elements by changing css - Use the rootEl default 'body'. On second attempt, use a default rootEl ''. After the attempt is made, reset the rootEl. closes angular#3465
Investigated: I also agree that more information should be passed to elementExplorer. For an Angular 2 app, the Elementor does not allow you to pass in a config file so for Angular 2 apps, it appears that Elementor does not support it. It appears that there is already an issue for this in Elementor. andresdominguez/elementor#47 Since this is not an issue with Protractor, I'm going to close this issue. |
Hello,
I am trying to run elementor, in order to locate elements on my page. But i always got the same message :
ERROR: TypeError: Cannot create property 'stack' on string 'Error while waiting for Protractor to sync with the page: "Could not find testability for element."'
Same error when trying to using Element explorer.
Bug report
6.2.0
4.0.3
Chrome
Windows 7
Feature Request
The text was updated successfully, but these errors were encountered: