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

No Driver meta #102

Open
Mehss opened this issue Oct 20, 2021 · 0 comments
Open

No Driver meta #102

Mehss opened this issue Oct 20, 2021 · 0 comments

Comments

@Mehss
Copy link

Mehss commented Oct 20, 2021

I am trying to run scrapy-selenium in an wsl pipenv environment

i have added the

SELENIUM_DRIVER_NAME = 'chrome'
SELENIUM_DRIVER_EXECUTABLE_PATH = '/usr/bin/chromedriver'
SELENIUM_DRIVER_ARGUMENTS=['--headless']

and

DOWNLOADER_MIDDLEWARES = {
    'scrapy_selenium.SeleniumMiddleware': 800
}

and SeleniumRequest works just fine, but response.request has no driver meta.
running which chromedriver in terminal returns '/usr/bin/chromedriver'

i have tried changing the SELENIUM_DRIVER_EXECUTABLE_PATH to which(chromedriver) and installing chromedriver into my local and direct it there, and i have tried using command_executor and setting browser_executable_path but the same issue persists.

not setting up the driver name, driver path, etc does not create a new error
what am i doing wrong?

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

1 participant