Implement WebdriverClassicDriver factory

This commit is contained in:
Christian Sciberras
2024-03-04 20:31:01 +01:00
parent 854336030e
commit 18a3f770db
7 changed files with 146 additions and 38 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace spec\Behat\MinkExtension\ServiceContainer\Driver;
use PhpSpec\ObjectBehavior;
use Behat\MinkExtension\ServiceContainer\Driver\DriverFactory;
class WebdriverClassicFactorySpec extends ObjectBehavior
{
public function it_is_a_driver_factory(): void
{
$this->shouldHaveType(DriverFactory::class);
}
public function it_is_named_webdriver_classic(): void
{
$this->getDriverName()->shouldReturn('webdriver-classic');
}
public function it_supports_javascript(): void
{
$this->supportsJavascript()->shouldBe(true);
}
}