'Edit the visibility of an xblock on the container page and returns an XBlockVisibilityEditorView.'

def edit_component_visibility(self, component):

    component.edit_visibility()
    return XBlockVisibilityEditorView(self.browser, component.locator)
