src/test/webapp.php: Tweak error message given in exception raised from 'get' method; properly 'reset' result array after looping through it, in 'findElements' method; and rename variable for consistency.