Improved error handling in page.Check()