Changing assertTrue(seleniumFunction) to matching asserts from oxtestcase.
(cherry picked from commit 6e86a62)