Fixed inifinite recursion in TestBrowser.submit

Fixes #1707
Merge pull request #1707 from jroper/1707-testbrowser-submit

[2.2.0-RC2] Error with TestBrowser/Selenium/Fluentlenium