plekc.blogg.se

Unable to find mozilla geckodriver
Unable to find mozilla geckodriver













unable to find mozilla geckodriver

Check ls -la /usr/local/bin | grep gecko. To investigate that replace your cronjob with echo $PATH > /tmp/crontab.log and then check '/tmp/crontab.log' for PATH and check if /usr/local/bin is there.Īnother reason could be that cron daemon is running as different user and thus has no access to geckodriver.

unable to find mozilla geckodriver

It could be that your export is located in place which is not called by cron daemon. Can someone help me that it also works by cronjob */20 * * * * ~/.rbenv/bin/rbenv exec ruby /home/path/to/the/ruby/script/report_export.rb

unable to find mozilla geckodriver

You will need to add the directory containing the. However, I run the ruby script by cronjob I get the following error message: Unable to find Mozilla geckodriver. Actually, the Selenium client bindings tries to locate the geckodriver executable from the system PATH. Root/.rbenv/plugins/ruby-build/bin:/root/.rbenv/shims:/root/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin I have geckodriver installed in the usr/local/bin directory and exported to the $PATH variable.Įxport PATH=$PATH:~/usr/local/bin/geckodriver















Unable to find mozilla geckodriver