def save_button_status(browser): button = browser.find_element_by_class_name(save_new_pass_button) print button.is_enabled() and button.is_displayed()