find() turns the keyword arguments you pass into a selector for you. One simple criterion (id, class_name, tag_name) becomes a plain CSS selector. Combine criteria, or match by text or a custom attribute, and it switches to XPath. Step through the calls below.
pydoll builds →
signup.html
One simple criterion → a CSS selector. Combine criteria, or match by text or a custom attribute → find() writes the XPath for you.