Hello,
I've written a couple functions using Selenium and have designated them as always-on. These functions get called every 5 minutes from my Anvil Web App using Uplink.
The functions work as intended when I run them manually, but they are failing when they are run as part of my scheduled task.
I was originally using Chrome, but I read that it's not supported so I've switched to fire fox.
The error I was getting with Chrome was:
WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/bin/chromium-browser is no longer running, so ChromeDriver is assuming that Chrome has crashed.) (Driver info: chromedriver=2.42.591071
The error I'm getting now using Firefox is:
WebDriverException: Message: The browser appears to have exited before we could connect. If you specified a log_file in the FirefoxBinary constructor, check it for details.
Again, when I run the scripts manually there are no issues so I'm not sure what is happening.
Thanks,
Dane Finkbeiner