test script prints name of url triggering onBeforeNavigate event