correcting parameter definitions on `assertElementText`