Clicked page is not returned by click_by_xpath
|
|
Hi, I was just trying to do stuff with FireScrubyt, and I ran into a problem. Following is the program: require ‘rubygems’ require ‘scrubyt’ data = Scrubyt::Extractor.define :agent => :firefox do
end puts data.to_xml When I run this program, the code of the fetched page is returned and the clicked one is not. However, it clearly clicks on the firefox. What I want is the result page after submitting the query. Please tell me what’s wrong with my approach. Thanks in advance. |
|
|
Hi, I really need help with this issue. I have a lot of examples that are behaving in the same way. Please reply. Thanks. |