Open WilliamEstrela opened 2 years ago
Same issue here - maybe it works with an older chrome version?
For me it works when leaving out the user data dir - but that's just a workaround :)
# options.add_argument(f"--user-data-dir={user_data}")
also had to comment out the proxy, otherwise chrome wouldn't connect
# session = Session(proxy="23.23.23.23:3128")
Show, I made your process, put it in windows and logged in with gmail and it worked :)
So guys, how did you fix that error?
AttributeError: 'Session' object has no attribute 'started'
Fixed it: Updated to the latest Chrome version (97.0.4692.71) and re install the packages.
So guys, how did you fix that error?
AttributeError: 'Session' object has no attribute 'started'
Fixed it: Updated to the latest Chrome version (97.0.4692.71) and re install the packages.
I tried this and still get the same error
@Hughesy , What python version are you using? I believe only 3.6 - 3.9 is compatible for the moment.
If you're using the right python version, then the issue should not be
AttributeError: 'Session' object has no attribute 'started'
but instead the real issue would be a bit further up in the logs. Probably somewhere when initialising Session()
.