in reply to Login Website
You could try triggering the site's own submitLoginForm function with trigger_event:
# This won't work exactly, but it's a hint: $w->document->links->[0]->trigger_event('onclick');
In Section
Seekers of Perl Wisdom