[browser test] Refactor Headings test to use the API

Re-enable this to run on Chrome also

Change-Id: Ia73778be44629a27a0ee4e3cde94f7fe2c2bf46e
Merge "[browser test] Refactor Headings test to use the API"