Skip to content

Commit

Permalink
fixup! feat: allow selenium server with internal webserver
Browse files Browse the repository at this point in the history
  • Loading branch information
daFish committed Dec 2, 2024
1 parent c6425fe commit cd19f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PantherTestCaseTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ protected static function createPantherClient(array $options = [], array $kernel
if (PantherTestCase::FIREFOX === $browser) {
self::$pantherClients[0] = self::$pantherClient = PantherClient::createFirefoxClient(null, $browserArguments, $managerOptions, self::$baseUri);
} elseif (PantherTestCase::SELENIUM === $browser) {
self::$pantherClients[0] = self::$pantherClient = Client::createSeleniumClient($managerOptions['host'], $managerOptions['capabilities'], self::$baseUri, $options);
self::$pantherClients[0] = self::$pantherClient = PantherClient::createSeleniumClient($managerOptions['host'], $managerOptions['capabilities'] ?? null, self::$baseUri, $options);
} else {
try {
self::$pantherClients[0] = self::$pantherClient = PantherClient::createChromeClient(null, $browserArguments, $managerOptions, self::$baseUri);
Expand Down

0 comments on commit cd19f51

Please sign in to comment.