QA: Make the visit page rule more generic

Allow it to present any kind of page.

Change-Id: I956cebe25dd72ac0ef4314b76567f12d4872a777