driver.find_element_by_class_name('dialog_button').click()# first one is 'Ok', second one is 'Cancel'.
wait_for_element_class('dialog_content')
while'If you have anything to comment,please click here, or you can add reviews in the form.'==driver.find_element_by_class_name('dialog_content').text:
while'If you have anything to comment'indriver.find_element_by_class_name('dialog_content').text: