Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

How to Enter a value to a field without having name in WWW-Mechanize-Firefox

by Anonymous Monk
on Nov 04, 2012 at 17:32 UTC ( [id://1002227]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, I have a doubt regarding Mech::firefox. My question is how to Enter a value to a field which is having no name (but have id).

Pls take a look at this website     http://www.trustedchoice.com/content/find-an-agent/FindAnAgent.aspx Here I want to give the Zip/Postal code Field a value of "10027" and click the Go button. Can any one Pls guide me how to do this.

Thanks in Advance Monks, & Thanks Corion for this wonderfull module.

  • Comment on How to Enter a value to a field without having name in WWW-Mechanize-Firefox
  • Download Code

Replies are listed 'Best First'.
Re: How to Enter a value to a field without having name in WWW-Mechanize-Firefox
by Anonymous Monk on Nov 04, 2012 at 17:58 UTC

      Thanks Monk, I read that before asking this question(+ documentation + cookbook also)! I am just a beginner and I didn't find a way to do that, that's why I asked here.

      I may click through Xpath, but how will I enter a value there?(Pls check the mentioned site Source code!, Did you checked it?)

      Here, the beginners like me are asking for solutions & not an amazing advice.

        A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-19 16:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found