The SymfonyDriver uses test.client. In Symfony 4.3 test.client is an instance of \Symfony\Bundle\FrameworkBundle\KernelBrowser which is no longer a descendant of \Symfony\Component\BrowserKit\Client but of \Symfony\Component\BrowserKit\AbstractBrowser.
This PR works around this by checking whether test.client is either a Client or AbstractBrowser.
Thanks for this cool extension!
The
SymfonyDriver
usestest.client
. In Symfony 4.3test.client
is an instance of\Symfony\Bundle\FrameworkBundle\KernelBrowser
which is no longer a descendant of\Symfony\Component\BrowserKit\Client
but of\Symfony\Component\BrowserKit\AbstractBrowser
.This PR works around this by checking whether
test.client
is either aClient
orAbstractBrowser
.