Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find_elements_by_model return None if elements are not found instead of empty array #10

Closed
pulphix opened this issue Nov 17, 2015 · 2 comments

Comments

@pulphix
Copy link

pulphix commented Nov 17, 2015

The current js script findByModel.js doesn't return anything if elements are not found causing issue on
find_element_by_model function:
TypeError: object of type 'NoneType' has no len()

This issue affect as well findByOptions

This issue came directly from protactor

@kpodl kpodl closed this as completed in 7d1fd0e Nov 28, 2015
@kpodl
Copy link
Owner

kpodl commented Nov 28, 2015

Thanks for the bug report. This will be fixed in the next release.

@pulphix
Copy link
Author

pulphix commented Dec 1, 2015

You welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants