while using php-webdriver-community for Selenium with php got following error
I am refering
https://github.com/rdmpage/ocr-correction/tree/master/Tests/php-webdriver to make corrections in files. I also download
__init__.php from above site.
PHP Warning: require_once(interactions/internal/WebDriverKeysRelatedAction.php): failed to open stream: No such file or directory in /home/vyclean04/Desktop/php-webdriver/lib/__init__.php on line 23 PHP Fatal error: require_once(): Failed opening required 'interactions/internal/WebDriverKeysRelatedAction.php' (include_path='.:/usr/share/php') in /home/vyclean04/Desktop/php-webdriver/lib/__init__.php on line 23.
To solve above error I tried to give permission folder /usr/share/php by using
sudo chmod 777 -R /usr/share/php this command but unable to do, it replies,
sudo: error in /etc/sudo.conf, line 0 while loading plugin 'sudoers_policy' sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load plugins
And I want to add that
interactions/internal/WebDriverKeysRelatedAction.php file is present
PLease help to solve it.
Thanks in advance.. :)