def get_buttons(self): current_url = self._driver_exec(self.page_url) tagger = Tagger( driver=self.driver, current_url=current_url, leave_host=self.leave_host, ) return tagger.get_buttons()
def get_forms(self): current_url = self._driver_exec(self.page_url) tagger = Tagger( driver=self.driver, current_url=current_url, leave_host=self.leave_host, ) forms_dict = tagger.get_forms() return forms_dict
def get_clickable(self, type=None): """ Get tags, by type (optional), for the currently loaded page. """ current_url = self._driver_exec(self.page_url) tagger = Tagger( driver=self.driver, current_url=current_url, leave_host=self.leave_host, ) return tagger.get_clickable()