css

Returns a List of Strings, depending on the method parameter, that matches the specified selector. If no matches are found, null is returned.
css($data , content = None , method = "text" ) : List
$data.css( content = None , method = "text" ) : List
Parameters
$data String

CSS Selector.

content String

If content is defined then the css expression will be executed in this content.

method String

Defines the method used to extract the content:
text (default) : Returns only the text contained in the result of the css expression
innerHTML : Returns the inner html of the result of the css expression
outerHTML : Returns the outside html of the result of the css expression
len : Returns the number of elements found.

See also
Tutorial
Examples

How to extract text based on a CSS selector