Panther Versions Save

A browser testing and web crawling library for PHP and Symfony

v2.1.1

5 months ago
  • Allow Symfony 7
  • Improve DX when using the Symfony binary
  • Fix screenshot on test failure
  • Add missing arguments when calling the legacy PHPUnit extension

v2.1.0

11 months ago
  • Add support for PHPUnit 10
  • Add support for matches() and closest() in Crawler

v2.0.1

2 years ago

What's Changed

Full Changelog: https://github.com/symfony/panther/compare/v2.0.0...v2.0.1

v2.0.0

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/symfony/panther/compare/v1.1.2...v2.0.0

v1.1.2

2 years ago

What's Changed

Full Changelog: https://github.com/symfony/panther/compare/v1.1.1...v1.1.2

v1.1.1

2 years ago
  • Fix a bug preventing to disable the headless mode

v1.1.0

2 years ago
  • Add a PANTHER_DEVTOOLS environment variable to disable the dev tools
  • Add a PANTHER_ERROR_SCREENSHOT_ATTACH environment variable to attach screenshots to PHPUnit reports in the JUnit format
  • Add a chromedriver_arguments option to pass custom arguments to Chromedriver
  • Add an env option to pass custom environment variables to the built-in web server from PantherTestCase
  • Add the possibility to pass options to ChromeManager
  • Automatically find the Chromedriver binary installed by lanfest/binary-chromedriver
  • Symfony 5.3 compatibility
  • Fix assertions that were not working with clients other than PantherClient
  • Fix the ability to keep the window of the browser open when a test fail by using the --debug option
  • Fix the ServerExtension when registerClient() is called multiple times
  • Fix undefined constant errors when using PantherTestCaseTrait directly

v1.0.1

3 years ago
  • Fix storing screenshots in the wrong directory when PANTHER_ERROR_SCREENSHOT_DIR is enabled

v1.0.0

3 years ago
  • Add Client::waitForEnabled(), Client::waitForDisabled(), Client::waitForAttributeToContain() and Client::waitForAttributeToNotContain() methods
  • Add PantherTestCase::assertSelectorAttributeContains(), PantherTestCase::assertSelectorAttributeNotContains(), PantherTestCase::assertSelectorWillExist(), PantherTestCase::assertSelectorWillNotExist(), PantherTestCase::assertSelectorWillBeVisible(), PantherTestCase::assertSelectorWillNotBeVisible(), PantherTestCase::assertSelectorWillContain(), PantherTestCase::assertSelectorWillNotContain(), PantherTestCase::assertSelectorWillBeEnabled(), PantherTestCase::assertSelectorWillBeDisabled, PantherTestCase::assertSelectorAttributeWillContain(), and PantherTestCase::assertSelectorAttributeWillNotContain() assertions
  • Automatically take a screenshot when a test fail and if the PANTHER_ERROR_SCREENSHOT_DIR environment variable is set
  • Add missing return types
  • Breaking Change: Remove the deprecated PHPUnit listener, use the PHPUnit extension instead
  • Breaking Change: Remove deprecated support for Goutte, use HttpBrowser instead
  • Breaking Change: Remove deprecated support for PANTHER_CHROME_DRIVER_BINARY and PANTHER_GECKO_DRIVER_BINARY environment variables, add the binaries in your PATH instead
  • Don't allow unserializing classes with a destructor

v0.9.0

3 years ago
  • Breaking Change: ChromeDriver and geckodriver binaries are not included in the archive anymore and must be installed separately, refer to the documentation
  • PHP 8 compatibility
  • Add Client::waitForStaleness() method to wait for an element to be removed from the DOM
  • Add Client::waitForInvisibility() method to wait for an element to be invisible
  • Add Client::waitForElementToContain() method to wait for an element containing the given parameter
  • Add Client::waitForElementToNotContain() method to wait for an element to not contain the given parameter
  • Add PantherTestCase::assertSelectorIsVisible(), PantherTestCase::assertSelectorIsNotVisible(), PantherTestCase::assertSelectorIsEnabled() and PantherTestCase::assertSelectorIsDisabled() assertions
  • Fix baseUri not taken into account when using Symfony HttpBrowser