my $eventlistener = $mech -> progress_listener( $browser, onLocationChange => \&process_content, );