code: def open_submission(self, url=None):
          
          if url is None:
              data = self.get_selected_item()
              url = data['permalink']
              if data.get('url_type') == 'selfpost':
                  self.config.history.add(data['url_full'])
  
          self.selected_page = self.open_submission_page(url)
docs: Select the current submission to view posts.