Category : selenium

Some time ago everythig works fine, but after rebuild my image I faced with error composer json "require-dev": { "dbrekelmans/bdi": "^0.3.0", "symfony/panther": "^1.1", I chcked version chromium and driver [email protected]:/auth_service# /usr/lib/chromium/chromium –version Chromium 90.0.4430.212 [email protected]:/auth_service# drivers/chromedriver –version ChromeDriver 90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/[email protected]{#429}) when I try to use $this->panterClient = Client::createChromeClient( ‘/usr/bin/chromedriver’, [ ‘–remote-debugging-port=9222’, ‘–no-sandbox’ ], [‘request_timeout_in_ms’ => ..

Read more

So I’m trying to configure selenium in a docker container, to use with behat, and the hub has the status not ready when I reach http://localhost:4444/status : { "value": { "ready": false, "message": "Selenium Grid not ready.", "nodes": [ { "id": "f746de23-58e4-499d-85fd-9bad4f904488", "uri": "http:u002fu002f172.22.0.5:5555", "maxSessions": 2, "stereotypes": [ { "capabilities": { "browserName": "chrome" }, "count": ..

Read more

I need to authenticate my WebDriver Client for functional tests. For example, In my integration tests, i’m doing something like that : namespace TestsController; use AppEntityDonor; use AppEntityUser; use DoctrineORMEntityManager; use DoctrineORMToolsSchemaTool; use SebastianBergmannTypeRuntimeException; use SymfonyBundleFrameworkBundleTestWebTestCase; class DonorTest extends WebTestCase { private static $client; /** * @var EntityManager */ private $entityManager; /** * @var SchemaTool ..

Read more