chrome denemedim ancak firefox için çok basit
yum ile firefox kurulur, python ile selenium kurulur eğer gui olmadan kullanıyorsanız işletim sistemini(sadece ssh ile) selenium u headless olarak açarsanız çalışır.
Php'de kullanıyorum,
Portları vs açsam da olmadı. Kurulum için örnek anlatım varmıdır acaba üstad ?
Fatal error: Uncaught FacebookWebDriverExceptionInternalWebDriverCurlExc eption: Curl error thrown for http POST to /session with params: {"capabilities":{"firstMatch":[{"browserName":"chrome"}]},"desiredCapabilities":{"browserName":"chrome","p latform":"ANY"}} Failed connect to localhost:4444; Connection refused in /var/www/vhosts/z.z.com/httpdocs/vendor/php-webdriver/webdriver/lib/Exception/Internal/WebDriverCurlException.php:20 Stack trace: #0 /var/www/vhosts/z.z.com/httpdocs/vendor/php-webdriver/webdriver/lib/Remote/HttpCommandExecutor.php(328): FacebookWebDriverExceptionInternalWebDriverCurlExc eption::forCurlError() #1 /var/www/vhosts/z.z.com/httpdocs/vendor/php-webdriver/webdriver/lib/Remote/RemoteWebDriver.php(129): FacebookWebDriverRemoteHttpCommandExecutor->execute() #2 /var/www/vhosts/zz.z.com/httpdocs/test.php(16): FacebookWebDriverRemoteRemoteWebDriver::create() #3 {main} thrown in
/var/www/vhosts/z.com/httpdocs/vendor/php-webdriver/webdriver/lib/Exception/Internal/WebDriverCurlException.php on line
20