Remove dupe xpath finder prep code

export-regex-csv
dgtlmoon 2022-11-25 09:25:05 +01:00
rodzic 9d04cb014a
commit fde7b3fd97
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -97,7 +97,7 @@ class Fetcher():
from pkg_resources import resource_string
# The code that scrapes elements and makes a list of elements/size/position to click on in the VisualSelector
self.xpath_element_js = resource_string(__name__, "res/xpath_element_scraper.js").decode('utf-8')
self.xpath_element_js = self.xpath_element_js.replace('%ELEMENTS%', 'div,span,form,table,tbody,tr,td,a,p,ul,li,h1,h2,h3,h4, header, footer, section, article, aside, details, main, nav, section')
@abstractmethod
def get_error(self):