I am trying to use selenium in a cloud function but i am unable to get it working because of the chrome driver installation..
if i create a tar.gz of this folder then should i use userlib/chromedriver path
btw its a headless option type
but ig i will also need to install more dependencies?
eitherway i decided to not use selenium or web driver related stuff since it got solved with requests + user agents
Looks like you’re using the Windows chromedriver… that’s not going to work in a cloud function
yes true
locally i am testing on windows
i tried various approaches like using this Webdriver Manager for installing chrome driver while running the script
but ig on a linux vps i will also have to perform other dependency installations so i just ditched it at the end
Recommended threads
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- Functions in cloud console not works
please advise as all of my runing functions on Appwrite console was working before , but now it give this error [Invalid `headers` param: Value must be a valid...
- [SOLVED] Production down - createExecuti...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...