-
Notifications
You must be signed in to change notification settings - Fork 90
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
Provide a way of checking meta info of page object #483
Comments
Yes, there is such a limitation currently. I believe a good way to do it would be go play around
As a short term solution, we could mark all the current built-in action descriptors by smth like I think we should solve it, when introducing a public way to declare a custom action. I expect it to be done in v2. Meanwhile, I think your current approach to create assertions for actions is a good(in terms of reliability) solution for now. |
While working on assert lib for page object I faced and issue described here.
There is no way to check if property is a property or a function without calling it, for example:
So to check if property is a function I need to call it like this:
The problem with this is that we actually execute getter and if it raises an error, our check will fail.
Do you think it's possible to store it somehow?
The text was updated successfully, but these errors were encountered: