Display results as :

Rechercher Advanced Search


Selenium as Screen scraper

View previous topic View next topic Go down

Selenium as Screen scraper

Post by mevaime on Wed Aug 26, 2009 11:58 am

can i use selenium as Screen scraper tool apart from web application testing tool.



Posts : 1
Join date : 2009-08-26

Back to top Go down

Re: Selenium as Screen scraper

Post by Adviser on Wed Aug 26, 2009 1:06 pm

First of all welcome to this forum. you asked very good question.

My answer to this is no you can't. selenium have one or 2 commands which gives you data of current page but full functionality of screen scraper is not.

It is purely developed for web testing. The method which is useful to get some data you want are az follows:

1. storeHtmlSource ( variableName )
Returns the entire HTML source between the opening and closing "html" tags.

2. storeCookie ( variableName )
Return all cookies of the current page under test.

all cookies of the current page under test

3. captureEntirePageScreenshot(filename, kwargs)

Thats all you can do with it. If you want some good screen scraper tool, here they are:

1.Jagacy VT
2.Screen Scraping Library
3.screen-scraper basic edition

Best of luck.

Posts : 379
Join date : 2009-07-30
Location : India

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum