Fix for #1381 - fillField fails for a form without a submit button