hey there.
is it possible to make an option in config to not mention duplicate users?
Also code is broken btw, this worked for me:
def comment(self) -> None: text_area = self.browser.find_element(By.CLASS_NAME, "_ablz") text_area.click() time.sleep(3) text_area = self.browser.find_element(By.CLASS_NAME, "_ablz") text_area.send_keys(self.generateStr()) time.sleep(3) comment_btn = self.browser.find_element(By.XPATH, '/html/body/div[1]/div/div[1]/div/div[1]/div/div/div/div[1]/div[1]/section/main/div[1]/div[1]/article/div/div[2]/div/div[2]/section[3]/div/form/button/div') time.sleep(3) self.browser.execute_script('arguments[0].click()', comment_btn) time.sleep(3) return
hey there.
is it possible to make an option in config to not mention duplicate users?
Also code is broken btw, this worked for me:
def comment(self) -> None: text_area = self.browser.find_element(By.CLASS_NAME, "_ablz") text_area.click() time.sleep(3) text_area = self.browser.find_element(By.CLASS_NAME, "_ablz") text_area.send_keys(self.generateStr()) time.sleep(3) comment_btn = self.browser.find_element(By.XPATH, '/html/body/div[1]/div/div[1]/div/div[1]/div/div/div/div[1]/div[1]/section/main/div[1]/div[1]/article/div/div[2]/div/div[2]/section[3]/div/form/button/div') time.sleep(3) self.browser.execute_script('arguments[0].click()', comment_btn) time.sleep(3) return