It would be useful if the auto logging would output info on the element selector when trying to find an element or elements. E.g. you can see something like this in the logging:
DEBUG - uitestcore.finder: Entering function elements
But there is no info about the PageElement details. Something similar to what is done in the waiter would work well e.g. self.logger.info("Waiting for %s to be visible", page_element)
This could be added to the elements() and element() functions in Finder.
In the decorator function before return_value = func(*args, **kwargs) it is better to test if the args is a PageElement . This strategy is useful to identify which locators is failing on the current page
It would be useful if the auto logging would output info on the element selector when trying to find an element or elements. E.g. you can see something like this in the logging: DEBUG - uitestcore.finder: Entering function elements But there is no info about the PageElement details. Something similar to what is done in the waiter would work well e.g. self.logger.info("Waiting for %s to be visible", page_element) This could be added to the elements() and element() functions in Finder.