- mevaime
- Posts : 1
Join date : 2009-08-26
Selenium as Screen scraper
Wed Aug 26, 2009 11:58 am
Hi
can i use selenium as Screen scraper tool apart from web application testing tool.
regards
mevaime
can i use selenium as Screen scraper tool apart from web application testing tool.
regards
mevaime
Re: Selenium as Screen scraper
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.
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.
- Selenium IDE Test Case - Screen with Lookup Field
- Selenium will not see displayed screen even though browser displayes it - random error
- Getting value in element - result not the same as on screen
- How find any text in browser screen and click on it?
- How to crop the right position of element from the screen shot?
Permissions in this forum:
You cannot reply to topics in this forum