ultrafunkamsterdam / undetected-chromedriver

Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
https://github.com/UltrafunkAmsterdam/undetected-chromedriver
GNU General Public License v3.0
9.57k stars 1.14k forks source link

headless mode error #1308

Open M-Zubair10 opened 1 year ago

M-Zubair10 commented 1 year ago

if self.patcher.version_main < 108: TypeError: '<' not supported between instances of 'NoneType' and 'int'

armandinhox commented 1 year ago

Same problem here.

options = uc.ChromeOptions()
options.headless = True
options.add_argument( '--headless' )
options.user_data_dir= os.path.dirname(os.path.realpath(__file__))+'/profile/'
driver = uc.Chrome( options = options )
armandinhox commented 1 year ago

if self.patcher.version_main < 108: TypeError: '<' not supported between instances of 'NoneType' and 'int'

Check solution: https://github.com/ultrafunkamsterdam/undetected-chromedriver/issues/1301