ai-to-ai / Auto-Gmail-Creator

Open Source Bulk Auto Gmail Creator Bot with Selenium & Seleniumwire ( Python ). Feel free to contact me with Django/Flask, ML, AI, GPT, Automation, Scraping.
https://gptlawyer.pro
561 stars 301 forks source link

cannot access local variable 'driver' where it is not associated with a value #19

Open lololo145 opened 1 year ago

lololo145 commented 1 year ago

cannot access local variable 'driver' where it is not associated with a value

Nothabeebi commented 1 year ago

same here. can you please help

merolaika commented 1 year ago

same here

danofun commented 1 year ago

experiencing the same issue

xD-E-A-T-Hx commented 1 year ago

Libraries imported like seleniumwire etc ?

nemokell commented 11 months ago

how to solve this issue, same problem

xD-E-A-T-Hx commented 11 months ago

Using selenium or seleniumwire?

how to solve this issue, same problem

nemokell commented 11 months ago

Using selenium or seleniumwire?

how to solve this issue, same problem

selenium

xD-E-A-T-Hx commented 11 months ago

As far as I remember. line 256 driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options = options, seleniumwire_options=seleniumwire_options)

Edit to driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options = options)

And comment out lines 177-178

also make sure you have chromedriver in the working directory.

Hope this helps

xD-E-A-T-Hx commented 11 months ago

Did this help?

Using selenium or seleniumwire?

how to solve this issue, same problem

selenium