Hello monks, I am using WWW::Mechanize::Firefox to fill a textarea and click the submit button.
I can click the submit button by getting the xpath of the element and using $mech->click (). I dont know how to fill the textarea. I have gone through the cpan page of the module but could not find a solution, though I believe it must be something very simple. The textarea's html code is as below:
<textarea class="placeholder" rows="3" cols="50" placeholder="Place the comment here" > </textarea>
I have edited the code manually in firefox and the comment appeared in the textarea. How can I edit this html code using WWW::Mechanize::Firefox?