Robot to perform Phantomjs-like web procedures

Asked

Viewed 331 times

3

Is there any framework or implementation way to navigate a website programmatically through c code#?

I studied the frameworks phantomJS and Selenium, but these have some limitations in relation to dynamic navigation, such as adding scripts at runtime, modifying variables and the DOM tree, capturing images (screenshot) and recovering HTML.

I also studied using the class HttpWebRequest and HttpWebResponse but some interactions need to be carried out in WEB forms, and as far as I searched I could not perform the Submit of a form as if I was actually browsing the page.

1 answer

2


  • it is possible to execute Javascript scripts with Abot?

  • is it possible to click on a button using Abot? Another question is required for this answer?

  • It’s possible. I don’t know if you need another question. That’s up to you.

  • I opened a new question regarding click after some done searches. I leave the link here for those who have the same need http://answall.com/questions/101397/como-alterar-o-dom-e-efetuar-click-utilizando-abot

  • Just read the documentation

  • I did not find in the documentation a simulation of the click on a button captured in Crawledpage, @Rod, so I asked if it was possible to perform this event.

  • 1

    @Joãopaulomassa what is your purpose ? Do you want to do what exactly? I know another Abot option, and do the click events, for example

  • @Rod, the ultimate purpose is to navigate my website as an end user (through a robot), performing the same interactions that an ordinary user can perform. Because it is a robot, there is no need for a visualization interface (such as phantomJS)

  • @Joãopaulo, did you manage to do what you wanted, your programming navigation? I want to develop a also porem in PHP and I’m collecting information to start.

  • 1

    @Valentimaraújo, I used Selenium with the C#API. It allows a very detailed level of navigation. Until now the only limiter I found was needing a browser with interface, since the library for Phantomjs is discontinued and without updates.

Show 6 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.