Brings Symfony's BrowserKit Component to TYPO3 Testing Framework.
class MyTestCase extends BrowserKitTestCase
{
public function testExample()
{
$client = self::getClient($this);
$crawler = $client->request('GET', '/');
self::assertSelectorExists('.example');
}
}
See also tests/Functional/DomCrawlerAssertionsTest.php
You can find details on Symfony's Testing Documentation.
❌ Response Assertions
❌ Request Assertions
❌ Browser Assertions
✅ Crawler Assertions
✅ Mailer Assertions
- File upload not (yet) implemented