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