string(275) "Full markup load (HTML): plainTemplate test <" string(57) "Full markup load (HTML), using document's charset 'utf-8'" string(68) "Selecting document 'd5a63e3a0fb41a9bb18c5f1b26a97672' as default one"
Array
(
    [0] => FIND
    [1] => div:first
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => div
                    [2] => :first
                )

        )

)
XPATH: //div
QUERY FETCHED
Matched 1: div.articles
Array
(
    [0] => FIND
    [1] => p:contains('title')
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => p
                    [2] => :contains('title')
                )

        )

)
XPATH: //p
QUERY FETCHED
Matched 10: p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.after
Array
(
    [0] => FIND
    [1] => p:contains('title 2')
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => p
                    [2] => :contains('title 2')
                )

        )

)
XPATH: //p
QUERY FETCHED
Matched 10: p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.after
Array
(
    [0] => FIND
    [1] => li:eq(1)
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => li
                    [2] => :eq(1)
                )

        )

)
XPATH: //li
QUERY FETCHED
Matched 6: li, li#testID, li, li#i_have_nested_list, li.nested, li.second
Array
(
    [0] => FIND
    [1] => li:eq(1) p:eq(1)
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => li
                    [2] => :eq(1)
                    [3] =>  
                    [4] => p
                    [5] => :eq(1)
                )

        )

)
XPATH: //li
QUERY FETCHED
Matched 6: li, li#testID, li, li#i_have_nested_list, li.nested, li.second
XPATH: /html[1]/body[1]/div[1]/ul[1]/li[2]//p
QUERY FETCHED
Matched 3: p, p.title, p.body
Array
(
    [0] => FIND
    [1] => *[rel="test"]
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => *
                    [2] => [rel="test"]
                )

        )

)
XPATH: //*[@rel='test']
QUERY FETCHED
Matched 2: p, p
Array
(
    [0] => FIND
    [1] => #testID p:first
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => #testID
                    [2] =>  
                    [3] => p
                    [4] => :first
                )

        )

)
XPATH: //*[@id='testID']//p
QUERY FETCHED
Matched 3: p, p.title, p.body
Array
(
    [0] => FIND
    [1] => p:not('.title'):not('.body')
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => p
                    [2] => :not('.title')
                    [3] => :not('.body')
                )

        )

)
XPATH: //p
QUERY FETCHED
Matched 10: p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.after
array(2) { [0]=> string(3) "not" [1]=> string(6) ".title" } array(2) { [0]=> string(3) "not" [1]=> string(5) ".body" }
Array
(
    [0] => FIND
    [1] => [content*=html]
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => [content*=html]
                )

        )

)
XPATH: //*[@content]
QUERY FETCHED
Found: meta, comparing with is()
Matched 1: meta
Array
(
    [0] => FIND
    [1] => li#testID, div.articles
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => li
                    [2] => #testID
                )

            [1] => Array
                (
                    [0] =>  
                    [1] => div
                    [2] => .articles
                )

        )

)
XPATH: //li[@id='testID']
QUERY FETCHED
Matched 1: li#testID
XPATH: //div[@class]
QUERY FETCHED
Found: div.articles, comparing with matchClasses()
Matched 1: div.articles
Array
(
    [0] => FIND
    [1] => script[src]:not([src^= Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => script
                    [2] => [src]
                    [3] => :not([src^=
XPATH: //script[@src]
QUERY FETCHED
Matched 2: script, script
array(2) { [0]=> string(3) "not" [1]=> string(12) "[src^=Array ( [0] => FIND [1] => li:has(ul) [2] => Array ( [0] => Array ( [0] => [1] => li [2] => :has(ul) ) ) )
XPATH: //li
QUERY FETCHED
Matched 6: li, li#testID, li, li#i_have_nested_list, li.nested, li.second
Array
(
    [0] => FIND
    [1] => ul
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => ul
                )

        )

)
XPATH: /html[1]/body[1]/div[1]/ul[1]/li[1]//ul
QUERY FETCHED
Nothing found
Matched 0: 
Array
(
    [0] => FIND
    [1] => ul
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => ul
                )

        )

)
XPATH: /html[1]/body[1]/div[1]/ul[1]/li[2]//ul
QUERY FETCHED
Nothing found
Matched 0: 
Array
(
    [0] => FIND
    [1] => ul
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => ul
                )

        )

)
XPATH: /html[1]/body[1]/div[1]/ul[1]/li[3]//ul
QUERY FETCHED
Nothing found
Matched 0: 
Array
(
    [0] => FIND
    [1] => ul
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => ul
                )

        )

)
XPATH: /html[1]/body[1]/ul[1]/li[1]//ul
QUERY FETCHED
Matched 1: ul
Array
(
    [0] => FIND
    [1] => ul
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => ul
                )

        )

)
XPATH: /html[1]/body[1]/ul[1]/li[1]/ul[1]/li[1]//ul
QUERY FETCHED
Nothing found
Matched 0: 
Array
(
    [0] => FIND
    [1] => ul
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => ul
                )

        )

)
XPATH: /html[1]/body[1]/ul[1]/li[2]//ul
QUERY FETCHED
Nothing found
Matched 0: 
Array
(
    [0] => FIND
    [1] => p[rel] + p
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => p
                    [2] => [rel]
                    [3] => +p
                )

        )

)
XPATH: //p[@rel]
QUERY FETCHED
Matched 2: p, p
array(2) { [0]=> string(3) "Is:" [1]=> string(1) "p" } array(2) { [0]=> string(3) "Is:" [1]=> string(1) "p" }
Array
(
    [0] => FIND
    [1] => ul:first > li:first ~ *
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => ul
                    [2] => :first
                    [3] => >
                    [4] => li
                    [5] => :first
                    [6] => ~*
                )

        )

)
XPATH: //ul
QUERY FETCHED
Matched 3: ul, ul, ul
XPATH: /html[1]/body[1]/div[1]/ul[1]/li
QUERY FETCHED
Matched 3: li, li#testID, li
XPATH: /html[1]/body[1]/div[1]/ul[1]/li[1]
QUERY FETCHED
Matched 1: li
Array
(
    [0] => FIND
    [1] => li:only-child
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => li
                    [2] => :only-child
                )

        )

)
XPATH: //li
QUERY FETCHED
Matched 6: li, li#testID, li, li#i_have_nested_list, li.nested, li.second
Array
(
    [0] => FIND
    [1] => p[rel=test]:parent
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => p
                    [2] => [rel=test]
                    [3] => :parent
                )

        )

)
XPATH: //p[@rel='test']
QUERY FETCHED
Matched 2: p, p
Array
(
    [0] => FIND
    [1] => li:first-child
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => li
                    [2] => :first-child
                )

        )

)
XPATH: //li
QUERY FETCHED
Matched 6: li, li#testID, li, li#i_have_nested_list, li.nested, li.second
Array
(
    [0] => FIND
    [1] => :last-child
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => *
                    [2] => :last-child
                )

        )

)
XPATH: //*
QUERY FETCHED
Matched 27: html, head, meta, title, script, script, body, div.articles, ul, li, p, p.title, p.body, li#testID, p, p.title, p.body, li, p, p.noTitle, p.body, p.after, ul, li#i_have_nested_list, ul, li.nested, li.second
Array
(
    [0] => FIND
    [1] => :nth-child(1n+1)
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => *
                    [2] => :nth-child(1n+1)
                )

        )

)
XPATH: //*
QUERY FETCHED
Matched 27: html, head, meta, title, script, script, body, div.articles, ul, li, p, p.title, p.body, li#testID, p, p.title, p.body, li, p, p.noTitle, p.body, p.after, ul, li#i_have_nested_list, ul, li.nested, li.second
Array
(
    [0] => FIND
    [1] => :nth-child(3n+6)
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => *
                    [2] => :nth-child(3n+6)
                )

        )

)
XPATH: //*
QUERY FETCHED
Matched 27: html, head, meta, title, script, script, body, div.articles, ul, li, p, p.title, p.body, li#testID, p, p.title, p.body, li, p, p.noTitle, p.body, p.after, ul, li#i_have_nested_list, ul, li.nested, li.second
Array
(
    [0] => FIND
    [1] => :nth-child(2n)
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => *
                    [2] => :nth-child(2n)
                )

        )

)
XPATH: //*
QUERY FETCHED
Matched 27: html, head, meta, title, script, script, body, div.articles, ul, li, p, p.title, p.body, li#testID, p, p.title, p.body, li, p, p.noTitle, p.body, p.after, ul, li#i_have_nested_list, ul, li.nested, li.second
Array
(
    [0] => FIND
    [1] => :nth-child(1)
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => *
                    [2] => :nth-child(1)
                )

        )

)
XPATH: //*
QUERY FETCHED
Matched 27: html, head, meta, title, script, script, body, div.articles, ul, li, p, p.title, p.body, li#testID, p, p.title, p.body, li, p, p.noTitle, p.body, p.after, ul, li#i_have_nested_list, ul, li.nested, li.second
Array
(
    [0] => FIND
    [1] => :nth-child(odd)
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => *
                    [2] => :nth-child(odd)
                )

        )

)
XPATH: //*
QUERY FETCHED
Matched 27: html, head, meta, title, script, script, body, div.articles, ul, li, p, p.title, p.body, li#testID, p, p.title, p.body, li, p, p.noTitle, p.body, p.after, ul, li#i_have_nested_list, ul, li.nested, li.second
Array
(
    [0] => FIND
    [1] => :nth-child(even)
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => *
                    [2] => :nth-child(even)
                )

        )

)
XPATH: //*
QUERY FETCHED
Matched 27: html, head, meta, title, script, script, body, div.articles, ul, li, p, p.title, p.body, li#testID, p, p.title, p.body, li, p, p.noTitle, p.body, p.after, ul, li#i_have_nested_list, ul, li.nested, li.second
Array
(
    [0] => FIND
    [1] => :empty
    [2] => Array
        (
            [0] => Array
                (
                    [0] =>  
                    [1] => *
                    [2] => :empty
                )

        )

)
XPATH: //*
QUERY FETCHED
Matched 27: html, head, meta, title, script, script, body, div.articles, ul, li, p, p.title, p.body, li#testID, p, p.title, p.body, li, p, p.noTitle, p.body, p.after, ul, li#i_have_nested_list, ul, li.nested, li.second
Test 'div:first' PASSED :)

Test 'p:contains('title')' PASSED :)

Test 'p:contains('title 2')' PASSED :)

Test 'li:eq(1)' PASSED :)

Test 'li:eq(1) p:eq(1)' PASSED :)

Test '*[rel="test"]' PASSED :)

Test '#testID p:first' PASSED :)

Test 'p:not('.title'):not('.body')' PASSED :)

Test '[content*=html]' PASSED :)

Test 'li#testID, div.articles' PASSED :)

Test 'script[src]:not([src^=
Test 'li:has(ul)' PASSED :)

Test 'p[rel] + p' PASSED :)

Test 'ul:first > li:first ~ *' PASSED :)

Test 'li:only-child' PASSED :)

Test 'p[rel=test]:parent' PASSED :)

Test 'li:first-child' PASSED :)

Test ':last-child' PASSED :)

Test ':nth-child(1n+1)' FAILED !!!Array ( [0] => html [1] => head [2] => meta [3] => title [4] => script [5] => script [6] => body [7] => div.articles [8] => ul [9] => li [10] => p [11] => p.title [12] => p.body [13] => li#testID [14] => p [15] => p.title [16] => p.body [17] => li [18] => p [19] => p.noTitle [20] => p.body [21] => p.after [22] => ul [23] => li#i_have_nested_list [24] => ul [25] => li.nested [26] => li.second )

Test ':nth-child(3n+6)' PASSED :)

Test ':nth-child(2n)' PASSED :)

Test ':nth-child(1)' PASSED :)

Test ':nth-child(odd)' PASSED :)

Test ':nth-child(even)' PASSED :)

Test ':empty' PASSED :)

string(275) "Full markup load (HTML): plainTemplate test <" string(57) "Full markup load (HTML), using document's charset 'utf-8'" string(68) "Selecting document '480fe10edfaa4deee024b4f173c8993f' as default one" string(275) "Full markup load (HTML): "