Skip to content
Advertisement

Tag: selenium-chromedriver

docker-compose exec command works into container but not from my host machine

I need to run a command into a chromedriver container passing an ip from a php-fpm container. The php-fpm container hostname is ‘php-fpm’. Both containers are in the same network. So this guys can see each other. If I access the chromedriver container and run this command, it works properly: chromedriver –url-base=/wd/hub –whitelisted-ips=$(getent hosts php-fpm | cut -d’ ‘ -f1)

Chromedriver works manually but fails when ran from Jenkins Slave

I have a Jenkins slave node setup with LinuxMint. So we can do some browser testing on a Linux box in Chrome and Firefox. I have the latest Chromedriver installed where the test can run it and when I go into /var/jenkins/workspace/<project name>/TestAutomation/SeleniumFramework manually and do my run npm <test name> the tests launch the chromedriver and run successfully. When

Advertisement