panther
panther copied to clipboard
A browser testing and web crawling library for PHP and Symfony
This PR try to implement Code Coverage support by using Panther when testing. The logic come from solutions given in #8, with some adaptation to be used with many Coverage...
Hi, I'm trying to select a html class using $crawler->filter('.right') but its keeps returning me this error "element is not attached to the page document", this is quite strange because...
I am using Symfony Panther for web scraping. When Google Chrome's version and Chrome driver was 89, everything worked fine. But after updating both versions to 92, $crawler->filter('h1')->html(); will always...
When I run tests using Panther, all check pass, but the return code is not 0 because a fatal error is thrown at the end. When I run it from...
Hi, Is it possible to override/mock container services in the server process? I would like to mock an external data source in a functional test. I've tried the following, but...
When taking screenshots via panther, it would be useful if a api would be provided, which allows to compare images, e.g. a screenshot taken against a golden sample, recorded earlier....
I haven't tested Chrome; it's taken from https://github.com/symfony/panther/issues/428 (which can be closed now IMO) Firefox works for me; it's taken from https://stackoverflow.com/a/64374604/1668200
Hi everyone 👋 Small question about network spy and XHR/fetch requests, is there any way to listen and wait for a request to end before executing some code? 🤔 Example:...
Hi ! I'm trying to launch tests with multi domain app. As a good fellow I read the doc and make a lot of searchs ;) The problem : I've...
Hi everyone, I try to run Panther on a new installation of Symfony (4.2). I have this error message when I start my tests : ``` 1) App\Tests\Controller\HomeControllerTest::testIndex Facebook\WebDriver\Exception\WebDriverCurlException: Curl...