public function CrawlerTest::testFilterXPathWithNamespaceAxisAfterElementAxis in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dom-crawler/Tests/CrawlerTest.php \Symfony\Component\DomCrawler\Tests\CrawlerTest::testFilterXPathWithNamespaceAxisAfterElementAxis()
File
- vendor/
symfony/ dom-crawler/ Tests/ CrawlerTest.php, line 561
Class
Namespace
Symfony\Component\DomCrawler\TestsCode
public function testFilterXPathWithNamespaceAxisAfterElementAxis() {
$crawler = $this
->createTestCrawler()
->filterXPath('//div[@id="parent"]/namespace::*');
$this
->assertCount(0, $crawler
->filterXPath('namespace::*'), 'Namespace axes cannot be requested');
}