Error "selenium.common.exceptions.WebDriverException" although app works fine locally

Just as a quick test, can you take a look at @Franky1’s example and try out his lines of code in place of your main app? That way, we can confirm your environment (as configured) separate from your code before potentially going down a rabbit hole trying to find some specific line that is incompatible with the cloud environment. (Sometimes it’s something as simple as changing out the urls if your local environment is in a different geographical region that Streamlit Cloud’s servers, so it’s good to just verify from the basics.)

His example uses chromium and chromium-driver in the packages.txt file, same as yours. So it should be compatible with the environment you specified for your own cloud deployment.

1 Like