Detecting links on the browser

  • Thread starter Thread starter Hakan Fatih YILDIRIM
  • Start date Start date
H

Hakan Fatih YILDIRIM

Hi List,

İ want make a windows app that will detect and click links on the
browser.For doing this i thought like this. grabbing the screen and
then detect the locations of the links(image proccessing) and then
move the cursor to the links.an then click..Do you have any better
way. i want to do it on the browser not with httprequest and
httpresponse classes.


Best Regards
 
Hakan said:
Hi List,

İ want make a windows app that will detect and click links on the
browser.For doing this i thought like this. grabbing the screen and
then detect the locations of the links(image proccessing) and then
move the cursor to the links.an then click..Do you have any better
way. i want to do it on the browser not with httprequest and
httpresponse classes.

You can load the page into the browser control and then use the DOM to
loop through the links and programmatically click on them. This is
known as screen scraping.
 
hi Frank,
The main problem is detecting the link's location..How can i detect
them so i will move the mouse cursor and click.
 
Hakan,

You don't have to do that. If you can get the element through the
Document Object Model (which MSHTML provides) then you can trigger the click
programatically, you don't have to actually issue a mouse click.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top