I have a webpage which dynamically displays a text which I want to copy into a text file using watir-webdriver or any other additional gems. Is it possible?? If yes, how??
Thanks in advance..
I have a webpage which dynamically displays a text which I want to copy into a text file using watir-webdriver or any other additional gems. Is it possible?? If yes, how??
Thanks in advance..
If you are talking about web-scraping try Nokogiri
I will assume that you you have HMTL like this:
This would save text
teh codez
to filetehcodez.txt
(not tested):