Help for this page
$self->synchronize( 'DOMContentLoaded', sub { $self->submit_form( with +_fields => {log => 'admin', pwd => 'password'} ) } );