Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lololo145 opened this issue Aug 2, 2023 · 9 comments

Comments

@lololo145
Copy link

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

@Nothabeebi
Copy link

same here. can you please help

@merolaika
Copy link

same here

@danofun
Copy link

danofun commented Nov 11, 2023

experiencing the same issue

@xD-E-A-T-Hx
Copy link

Libraries imported like seleniumwire etc ?

@nemokell
Copy link

nemokell commented Dec 6, 2023

how to solve this issue, same problem

@xD-E-A-T-Hx
Copy link

Using selenium or seleniumwire?

how to solve this issue, same problem

@nemokell
Copy link

nemokell commented Dec 6, 2023

Using selenium or seleniumwire?

how to solve this issue, same problem

selenium

@xD-E-A-T-Hx
Copy link

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
Copy link

Did this help?

Using selenium or seleniumwire?

how to solve this issue, same problem

selenium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants