'Answer image problem.'

def answer_problem(self, correctness):

    offset = (25 if (correctness == 'correct') else (-25))
    input_selector = ".imageinput    [id^='imageinput_']    img"
    input_element = self.problem_page.q(css=input_selector)[0]
    chain = ActionChains(self.browser)
    chain.move_to_element(input_element)
    chain.move_by_offset(offset, offset)
    chain.click()
    chain.perform()
