SYNOPSIS

NAME

WWW::Mechanize::Plugin::Selector - CSS selector method for WWW::Mechanize

ADDED METHODS

$mech->selector( $css_selector, %options )

my @text = $mech->selector('p.content');

Returns all nodes matching the given CSS selector. If $css_selector is an array reference, it returns all nodes matched by any of the CSS selectors in the array.

This takes the same options that ->xpath does.