Share
Go down
mevaime
Posts : 1
Join date : 2009-08-26

Selenium as Screen scraper

on Wed Aug 26, 2009 11:58 am
Hi
can i use selenium as Screen scraper tool apart from web application testing tool.

regards
mevaime
avatar
Advisor
------------------------
------------------------
Posts : 383
Join date : 2009-07-30
Location : India
http://seleniumforum.forumotion.net

Re: Selenium as Screen scraper

on Wed Aug 26, 2009 1:06 pm
hi,
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.

Returns:
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.
Back to top
Permissions in this forum:
You cannot reply to topics in this forum