Fixed a bug, where passing numbers as values to submitForm() would cause an error in the \WebDriver. Fixes #749