panther
panther copied to clipboard
A browser testing and web crawling library for PHP and Symfony
With this being the HTML: ```html foobar ``` ... Symfony's `$domCrawler->text()` returns: ``` foobar ``` while Panther's `$pantherCrawler->text();` returns: ``` foo bar ```
With this in my `.env`: ``` PANTHER_NO_HEADLESS=true ``` ... I'm getting the exception > Process unexpectedly closed with status 1 ... on the second (!) line here: ```php $client =...
@dunglas thanks for making this project. I've been trying different ways to access iframe content. ```php $crawler = $client->switchTo()->frame('myframe') ``` doesn't seem to work. is this functionality supported? any recommendations?
Loosely following up on https://github.com/symfony/panther/issues/431, here's another idea: Symfony's DomCrawler can be constructed by just passing the HTML: ```php $domCrawler = new DomCrawler('foo'); ``` I'm suggesting to allow the same...
Hi, A list of non-exhaustive things. - Some method are not typed (ex missing @return WebDriverElement[] on findElements method, filter() should take a string... etc) - `selectFromXpath`and `filterXPath`does the same...
Hello everyone. I am using version 1.0.1 with Symfony 5.2 on an Ubuntu 20.04. I was using 0.9 in another project with no problems, but this one starting acting up...
Hello, Thank you for such awesome project! Is there a specific reason why SeleniumManager is not included for calling: self::getClient(self::$pantherClient) ? https://github.com/symfony/panther/blob/ec2ff073e80d3efb986022a2937a9cd94310237d/src/PantherTestCaseTrait.php#L155-L161
Hi, I would like to test the content of downloaded file as a pdf, for exemple I have seen here (#189) that there is some hacks but can't reproduce them....
Hello everyone, first off, I wanted to thank you very much for implementing such a great testing and crawling tool! My main problem is that I would like to have...
**Symfony version(s) affected**: 5.2 **Description** I sent my request by panther and intended to get the response so I used `getInternalResponse` method. by using this method I was able to...