- 
                Notifications
    
You must be signed in to change notification settings  - Fork 16
 
Open
Description
When adding typing I've discovered some strange (to me) code which is covered by tests and is present since CSS/XPath were added in 2013. Quoting tests:
l.replace_css('name', ['p::text', 'div::text'])
l.get_css(['p::text', 'div::text'])
Yet it was always documented that these functions take a "selector" in a form of "str".
Looks like we need to at least document this, as we will need to type these as Union[str, Iterable[str]]. We could remove it instead but I have no idea if it's used (I also have no idea about the actual use cases for this).
VMRuiz
Metadata
Metadata
Assignees
Labels
No labels