python3: implement __dir__ for BaseObject and PagesBrowser
Since those classes store some class-level declared fields (Field and URL) in a dictionary and are not present as attributes, those fields are not present in dir() even though __getattr__ will find them. By reimplementing __dir__, they can be discovered as ordinary attributes.
Please register or sign in to comment