Get child node based on a specific parent
function(Crawler $node,){
$node->filter('this>ul');
}
How can I get a $node
children,that does not contain a grandson like the CSS selector #parent>child
?
Get child node based on a specific parent
function(Crawler $node,){
$node->filter('this>ul');
}
How can I get a $node
children,that does not contain a grandson like the CSS selector #parent>child
?
this
or parent
selector in CSS.$node->filter('>ul');