Open Bits4Bux opened 2 years ago
have you tried if __name__ == __main__:
Having issues with this as well, "have you tried if name == main:" Did not work for me. Please let me know if you figure out a fix :)
I had the same error and i fixed it with by initializing the options options = webdriver.ChromeOptions() driver = webdriver.Chrome(options=options)
Hello, I got this error:
Traceback (most recent call last): File "C:\Users\JustAnotherUser\Downloads\Bot\main\SoundCloud.py", line 16, in
driver = webdriver.Chrome("C:\Users\JustAnotherUser\Downloads\Bot\main\chromedriver.exe")
File "C:\Users\JustAnotherUser\Downloads\Bot\main\undetected_chromedriver__init.py", line 248, in init__
options._session = self
AttributeError: 'str' object has no attribute '_session'
Process finished with exit code 1
Can anyone help?