예제 #1
0
 public function testLoadHTMLFile()
 {
     $selector = Selector::loadHTMLFile(__DIR__ . '/Resources/test.html');
     $this->assertInstanceOf('XPathSelector\\Selector', $selector);
 }
예제 #2
0
 public function __construct()
 {
     $this->htmlSelector = Selector::loadHTMLFile(__DIR__ . '/Resources/test.html');
 }