-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Unable to use WholeSiteReader on the Cloud #12790
Comments
Hey @VaradDeshmukh97, great to see you around here again! 🚀 Your adventures in the cloud sound like quite the saga. I'm on it - will get back to you with a strategy to conquer this error shortly! 🌩️ |
When I run this,
I get the following error:
|
The error you're encountering suggests a compatibility issue between Chrome and ChromeDriver or a problem with locating the Chrome executable in your cloud environment. Here's how to address these issues:
Here's a snippet for using a Remote WebDriver, which you should adjust based on your environment: from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
def setup_driver(self):
selenium_grid_url = "http://your.selenium.grid.url:4444/wd/hub"
capabilities = DesiredCapabilities.CHROME.copy()
opt = webdriver.ChromeOptions()
# Specify binary location if necessary
# opt.binary_location = '/path/to/chrome'
capabilities.update(opt.to_capabilities())
return webdriver.Remote(command_executor=selenium_grid_url, desired_capabilities=capabilities) Replace Sources
|
Hey @VaradDeshmukh97 did you found any solution or workaround to this issue? I am encountering the same issue and it would be amazing if I could use your help! |
Hi @suryaanshrai , Got the same errors, this solution works for me
|
Question Validation
Question
I am using WholeSiteReader() for loading websites into LlamaIndex Document objects. On my local system it works fine, but when I run my notebook on the Cloud, it says
ValueError: No chrome executable found on PATH
I understand that the driver needs to be given the path to the Chrome Executable, but I am unable to work it out. Any help will be appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: