[Browser test] Basic maintenance for headings browser test.

Change-Id: I85003448e41012af833a7b5754179da4a17cf652