This method doesn't work. The logout button is not displayed on the page, so you can't click on it. You have to hover the username first,.