Esempio n. 1
0
 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()
Esempio n. 2
0
 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
Esempio n. 3
0
 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()