Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programming language to automatically navigate website?

Tags:

scripting

I've been programming for many years now, and I have just one question.

What programming language allows you to create programs which can automatically navigate websites and perform various actions? For example, logging in, browse to a specific page, fill out forms, extract certain text and so on.

This is different to a macro as a macro only performs a predefined set of actions. On the other hand, the program would behave differently depending on what's displayed on the screen.

Perhaps some kind of scripting language? Or a general-purpose language. Your answers will be appreciated.

like image 746
Mitch Avatar asked Nov 17 '09 20:11

Mitch


People also ask

What coding language makes a webpage interactive?

JavaScript is a text-based programming language that's commonly used to make webpages more dynamic and interactive for visitors.

Is C language used in web development?

C is general-purpose and one of the oldest yet commonly used languages in web development. It is the basis of other programming languages, such as C++ and JavaScript.


1 Answers

I have been using Ruby and watir to do just that, its very straight forward and works by automating IE or Firefox.

with this approach the browser handles any JavaScript mess but you still have complete access to the page content so you just need to add your unique logic like filling an online form.

like image 125
Alon Avatar answered Nov 25 '22 13:11

Alon