[Catalyst] Re: Testing Web 2 cat apps

Ashley apv at sedition.com
Wed Sep 16 01:28:27 GMT 2009


On Sep 15, 2009, at 9:13 AM, Aristotle Pagaltzis wrote:
> * David Stevenson <hoagy at ytfc.com> [2009-09-14 11:40]:
>> "CSS accessors are recommended for reasonable speed."
>>
>> And they tend to be more robust to page layout changes,
>> compared to XPath.
>
> That doesn’t make any sense. Any CSS selector has a directly
> equivalent XPath expression.
>
> http://plasmasturm.org/log/444/
>
> Whether XPath is more or less robust depends only on whether
> you write it to be.


And this (I don't think Aristotle mentions in his post) is really cool:
    http://search.cpan.org/perldoc?HTML::Selector::XPath




More information about the Catalyst mailing list