If your going to learn Selenium I would focus on the learning the WebDriver API (Selenium 2.0+) as this is where all the development effort is going within the project.
I would recommend avoiding xpath where possible for finding "elements" within a web page for two reasons:
1) xpath lookup performance using IE is very very bad
2) xpath lookups can be very brittle, just adding a single additional html element to page can often be enough to the stop the xpath lookup
Looking at the Groupon page they use a good amount of element id's and CSS classes within their HTML, so using CSS selectors to find elements should work well.
On 3 July[masked]:47, Pawel Krupinski <[address removed]>
Scraping is bad for you.
HTMLUnit will probably do the trick, you don't need Selenium.
Otherwise just use HTTP client and HTML parser.
On Tue, Jul 3, 2012 at 5:25 AM, alexander sharma
<[address removed]> wrote:http://www.meetup.com/Londonjavacommunity/
> Anybody here who knows how to use Web Selenium, tutorials etc is it a plugin
> in eclipse.
> Is web selenium for testing live website for example how would I extract all
> deals from Groupon website using Web Selenium.
> Any help appreciated.
> Please contact me at [address removed]
> Please Note: If you hit "REPLY", your message will be sent to everyone on
> this mailing list ([address removed])
> This message was sent by alexander sharma ([address removed]) from
> LJC - London Java Community.
> To learn more about alexander sharma, visit his/her member profile
> Set my mailing list to email me As they are sent | In one daily email |
> Don't send me mailing list messages
> Meetup, PO Box 4668 #37895 New York, New York[masked] |
> [address removed]
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Pawel Krupinski ([address removed]) from LJC - London Java Community.
To learn more about Pawel Krupinski, visit his/her member profile: http://www.meetup.com/Londonjavacommunity/members/6361532/
Set my mailing list to email mehttp://www.meetup.com/Londonjavacommunity/list_prefs/?pref=1
As they are sent
In one daily email
Don't send me mailing list messages
Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]