Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
onemanbuilds committed Jan 21, 2021
1 parent 28a07d9 commit c0ea518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def Follow(self,email,password):
if self.Login(email,password,driver) == True:
driver.get(self.url)
try:
WebDriverWait(driver,self.login_check_max_wait).until(EC.element_to_be_clickable((By.CSS_SELECTOR,'#onetrust-accept-btn-handler'))).click()
WebDriverWait(driver,self.button_click_max_wait).until(EC.element_to_be_clickable((By.CSS_SELECTOR,'#onetrust-accept-btn-handler'))).click()
self.PrintText(Fore.WHITE,Fore.GREEN,'COOKIES','ACCEPTED')
if self.method == 1:
try:
Expand Down

0 comments on commit c0ea518

Please sign in to comment.