AttributeError: 'ChromeOptions' has no attribute 'headless' #1582
Replies: 3 comments 14 replies
-
options = ChromeOptions() |
Beta Was this translation helpful? Give feedback.
-
after downgrading selenium to 4.9. I now get this errpr. File "/Users/macmini/Library/Python/3.9/lib/python/site-packages/undetected_chromedriver/init.py", line 466, in init I'm on an M1 mac mini |
Beta Was this translation helpful? Give feedback.
-
If you're not trying to use headless try putting this before your driver: chrome_options.headless = False |
Beta Was this translation helpful? Give feedback.
-
Really stumped on this issue, would love some help. I've wiped my entire computer and reinstalled everything, but still no luck.
I have no code that tries to call headless.
chrome_options = uc.ChromeOptions()
chrome_options.add_argument("--remote-debugging-port=9222")
chrome_options.add_argument('--user-data-dir=/Users/user/Documents/chrome debug test')
chrome_options.binary_location = "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
bf_options = Options()
Beta Was this translation helpful? Give feedback.
All reactions