adhikary97 / TikTok-Bot

Automatically schedule your TikTok videos to be uploaded
31 stars 8 forks source link

Chrome driver issues #1

Closed quintendewilde closed 2 years ago

quintendewilde commented 3 years ago

python3 main.py --privacy Public --video_path /Users/quinten/Downloads/2018-05-09\ 15-40-38.mp4 --date_time 2021-03-21 --date_time 19:08 --caption helloworld Traceback (most recent call last): File "/Users/quinten/tiktokbots/TikTok-Bot/main.py", line 103, in main() File "/Users/quinten/tiktokbots/TikTok-Bot/main.py", line 99, in main TikTokBot(who_can_view=args.privacy, video_path=args.video_path, date_time=args.date_time, caption=args.caption) File "/Users/quinten/tiktokbots/TikTok-Bot/main.py", line 13, in init self.driver = webdriver.Chrome(f'{path}/chromedriver') File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/chrome/webdriver.py", line 76, in init RemoteWebDriver.init( File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in init self.start_session(capabilities, browser_profile) File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 84

freQuensy23-coder commented 3 years ago

You should download Chrome version 84 or Chrome webdriver with the same version that Chrome