in reply to Re: How to write in a non-form field of which the xpath is known using WWW::Mechanize::Chrome ?
in thread How to write in a non-form field of which the xpath is known using WWW::Mechanize::Chrome ?
I did RTFM, (which you literally copied).
But I don't see how I can go from a xpath to a field node.
Can you give me some example-code ?
e.g. Let's assume the webpage is <html><body><input id="foo"></input></body></html> and you want to fill it with bar.
(But you have to use the xpath to find the input field because real pages will be way more complex)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to write in a non-form field of which the xpath is known using WWW::Mechanize::Chrome ?
by marto (Cardinal) on Jan 09, 2026 at 12:29 UTC |