I am getting like "No elements found found
When that happens, dump the innerHTML of body and verify the lack of such an element
print $body =~ m{(<li.*?class="next".*?</li>)};
Using firebug, if I turn off javascript, there is no search results, no next button
But if I turn on javascript, $x('//li[@class="next"]'); returns two nodes
/html/body/form/div[2]/div[2]/div[2]/div/table/tbody/tr/td[2]/div/tabl +e/tbody/tr[2]/td/span/div/ul/li[5] /html/body/form/div[2]/div[2]/div[2]/div/table/tbody/tr/td[2]/div/tabl +e/tbody/tr[25]/td/span/div/ul/li[5]
Also, maybe the search results are still loading
In reply to Re^3: Javascript Navigation with WWW::Mechanize::Firefox
by Anonymous Monk
in thread Javascript Navigation with WWW::Mechanize::Firefox
by Matt™
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |