Skip to content

Releases: symfony/panther

Version 2.2.0

30 Jan 13:13
Compare
Choose a tag to compare
  • Add support for PHP 8.4
  • Add support for using Selenium with the built-in web server
  • Add a PANTHER_NO_REDUCED_MOTION environment variable to instruct the website to disable the reduction of non-essential movement
  • Add the ability to pass options to HttpClient when using HttpBrowser
  • Use a custom exception hierarchy instead of native exceptions directly
  • The Firefox window-size option is not set by default anymore in headless mode
  • Add explicit error messages in wait* methods
  • Fix support for checkbox and radio buttons having 0 as value
  • Fix catching of WebDriver exceptions
  • Ignore curl exceptions when closing WebDriver inside the destructor
  • Documentation has been moved from the Git repository to https://symfony.com/doc/current/testing/end_to_end.html

Version 2.1.1

03 Dec 22:19
v2.1.1
Compare
Choose a tag to compare
  • Allow Symfony 7
  • Improve DX when using the Symfony binary
  • Fix screenshot on test failure
  • Add missing arguments when calling the legacy PHPUnit extension

Version 2.1.0

31 May 09:44
v2.1.0
7294951
Compare
Choose a tag to compare
  • Add support for PHPUnit 10
  • Add support for matches() and closest() in Crawler

v2.0.1

02 Dec 17:34
v2.0.1
dc57282
Compare
Choose a tag to compare

What's Changed

  • Fix accessing PantherTestCaseTrait::$webServerDir before initialization by @kbond in #523

Full Changelog: v2.0.0...v2.0.1

v2.0.0

30 Nov 17:02
v2.0.0
b3bc87d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.2...v2.0.0

v1.1.2

30 Nov 16:31
v1.1.2
8716dd7
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.1...v1.1.2

Version 1.1.1

14 Jul 08:29
v1.1.1
e53feac
Compare
Choose a tag to compare
  • Fix a bug preventing to disable the headless mode

Version 1.1.0

13 Jul 09:59
v1.1.0
1779026
Compare
Choose a tag to compare
  • 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

Version 1.0.1

04 Feb 20:03
v1.0.1
d129434
Compare
Choose a tag to compare
  • Fix storing screenshots in the wrong directory when PANTHER_ERROR_SCREENSHOT_DIR is enabled

Version 1.0.0 🎉

03 Feb 15:04
v1.0.0
622613b
Compare
Choose a tag to compare
  • 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