'Create the note by the selector, return a context manager that will
show and save the note popup.'

def create_note(self, selector='.annotate-id'):

    for element in self.q(css=self._bounded_selector(selector)):
        note = EdxNoteHighlight(self.browser, element, self.item_id)
        note.select_and_click_adder()
        (yield note)
        note.save()
