For better compatibility with existing Simpletests we should try to provide assertFieldByXPath(), but mark it as deprecated. That way we need to change fewer parts of a test when converting from Simpletest to BrowserTestBase.
Implement the method, test it in BrowserTestBaseTest.
User interface changes
Data model changes