Actually, this is the most accurate and safest way to test the page name :)