If you are not having a desktop environment or x windows system use headless ![]() So selenium needs to be instructed to use chromium and not chrome otherwise it will throw exception error that chrome executable not available or not in path.ĭriver = webdriver.Chrome(executable_path ='usr/bin/chromium')įor latest selenium 4, executable path option is deprecated so use object method as below:įrom import Options But webdrivers for chromium and google chrome are same. binary path to be setted to path of chromium because selenium is made to use google chrome and not chromium.-no-sandbox arguments needs to be supplied in selenium when using interactive or python script as root user.However google chrome does not work on mobile platform as its not open source and there is no arm version of google chrome while chromium and firefox works successfully. Just install ubuntu or any other distro on termux and therein install firefox or chromium and selenium
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |