Returns a list of nested Elements that match the given CSS selector. For example: Element("div#main p.comment a:first-child") matches:
(self, selector)
| 2777 | by_attribute = by_attr = getElementsByAttribute = get_elements_by_attribute |
| 2778 | |
| 2779 | def __call__(self, selector): |
| 2780 | """ Returns a list of nested Elements that match the given CSS selector. |
| 2781 | For example: Element("div#main p.comment a:first-child") matches: |
| 2782 | """ |
| 2783 | return SelectorChain(selector).search(self) |
| 2784 | |
| 2785 | def __getattr__(self, k): |
| 2786 | if k in self.__dict__: |
nothing calls this directly
no test coverage detected