#NEWLINE# def fill_up_questions_form( self , question_to_ask , q_text = 'details' , q_site = 'www.example.com' ) : #NEWLINE# #INDENT# self . header . dismiss_staging_site_warning_if_present ( ) #NEWLINE# self . selenium . find_element ( * self . _q_content_box_locator ) . send_keys ( q_text ) #NEWLINE# self . header . dismiss_staging_site_warning_if_present ( ) #NEWLINE# self . selenium . find_element ( * self . _q_trouble_link_locator ) . click ( ) #NEWLINE# selected_product = ( ( ( self . selected_product == 'Firefox for Desktop' ) and 'Firefox' ) or self . selected_product ) #NEWLINE# self . header . dismiss_staging_site_warning_if_present ( ) #NEWLINE# self . selenium . find_element ( * self . _q_post_button_locator ) . click ( ) #NEWLINE# WebDriverWait ( self . selenium , self . timeout ) . until ( ( lambda s : ( not self . is_element_present ( * self . _q_post_button_locator ) ) ) ) #NEWLINE# view_question_pg = ViewQuestionPage ( self . base_url , self . selenium ) #NEWLINE# view_question_pg . is_the_current_page ( question_to_ask , selected_product ) #NEWLINE# return q_site