google-login-bypass icon indicating copy to clipboard operation
google-login-bypass copied to clipboard

'Main' object has no attribute 'driver'

Open cldborges opened this issue 2 years ago • 2 comments

Hello. When I run your code, the Chrome doesn't open and I receive this error:

Traceback (most recent call last): File "g:\Meu Drive\Python\Projetos\Jogos gratis Epic Games\teste-google-login-bypass", line 31, in driver.login(email, password) File "g:\Meu Drive\Python\Projetos\Jogos gratis Epic Games\teste-google-login-bypass", line 15, in login WebDriverWait(self.driver, 20).until(EC.visibility_of_element_located((By.NAME, 'identifier'))).send_keys(f'{email}\n') AttributeError: 'Main' object has no attribute 'driver'

I'm trying to make a automation that enter in Epic Games site and "buy" week free games https://github.com/cldborges/Jogos-gratis-Epic-Games

Thanks

cldborges avatar Aug 26 '22 17:08 cldborges

Same here. Don't know much about selenium. "driver" attribute seems to be there, but maybe an error while gereating it.

Traceback (most recent call last):
  File "c:\getgooglecookies.py", line 29, in <module>
    driver.login(email, password)
  File "c:\getgooglecookies.py", line 13, in login
    WebDriverWait(self.driver, 20).until(EC.visibility_of_element_located((By.NAME, 'identifier'))).send_keys(f'{email}\n')
AttributeError: 'Main' object has no attribute 'driver'

backupandforkacc avatar Jan 28 '23 06:01 backupandforkacc

issue solved

xtekky avatar Feb 12 '23 14:02 xtekky