Fixed bug with Shufersal Scraping by changing xml files category back to normal Enum.

This commit is contained in:
korenlazar committed 2022-10-04 12:09:42 +03:00
1 parent 7b63eab7bd
commit b1737839ce
2 files changed
+4 -9

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ class CerberusWebClient(SupermarketChain):
time.sleep(2)
searchElem = driver.find_element(By.CLASS_NAME, "form-control")
searchElem.send_keys(category.value)
searchElem.send_keys(category.value.lower().replace('s', ''))
time.sleep(5)
conns = driver.find_elements(By.CLASS_NAME, "f")