Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

How can we get the control Id for each controls in a web page?

by anbutechie (Sexton)
on Feb 13, 2009 at 09:34 UTC ( #743568=perlquestion: print w/ replies, xml ) Need Help??
anbutechie has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,
Can anybody suggest, How can we get a control id for each controls (Textbox, buttons,...) in an web page.
Is it possible to get a textbox by its contol id (which is genereted while developting an application)and set the value to that text box?
Best Regards,
Anbarasu

Comment on How can we get the control Id for each controls in a web page?
Re: How can we get the control Id for each controls in a web page?
by Anonymous Monk on Feb 13, 2009 at 09:48 UTC
    Webpages don't have "controls" :)
Re: How can we get the control Id for each controls in a web page?
by dorward (Curate) on Feb 13, 2009 at 16:01 UTC

    "Probably"

    ... but it depends on the context.

    • Where does the webpage come from?
    • What is rendering the webpage?
    • Where does Perl fit into the system?

    You could be talking about having a proxy server, written in Perl, that modifies a page before it gets to the browser.

    You could be talking about a bot written in Perl that interacts with a website without a browser being involved.

    You could be talking Perl embedded in the server side application.

    How you would go about this would depend on what you are actually trying to achieve.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://743568]
Approved by moritz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (13)
As of 2014-07-10 14:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (212 votes), past polls