Issue #3220183 by mondrake, longwave: Convert assertions involving use of xpath on labels to WebAssert (cherry picked from commit 67bfb63d)