Returns bool / boolean
True if the condition holds, False otherwise.is_logged_in = await page.validate("Check if the user is logged in")
print(is_logged_in) # True or False
bool / booleanTrue if the condition holds, False otherwise.