Releases: symfony/panther
Releases · symfony/panther
Version 2.2.0
- Add support for PHP 8.4
- Add support for using Selenium with the built-in web server
- Add a
PANTHER_NO_REDUCED_MOTIONenvironment variable to instruct the website to disable the reduction of non-essential movement - Add the ability to pass options to
HttpClientwhen usingHttpBrowser - Use a custom exception hierarchy instead of native exceptions directly
- The Firefox
window-sizeoption is not set by default anymore in headless mode - Add explicit error messages in
wait*methods - Fix support for checkbox and radio buttons having
0as 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
- 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
- Add support for PHPUnit 10
- Add support for
matches()andclosest()inCrawler
v2.0.1
v2.0.0
What's Changed
- Add support for Symfony 6 by @jordisala1991 in #509
- Allow deprecation-contracts 3 by @derrabus in #519
- Remove polyfill by @derrabus in #522
- Remove support for Symfony 4.4, add more type declarations for v2 by @chalasr in #517
New Contributors
- @jordisala1991 made their first contribution in #509
- @weaverryan made their first contribution in #513
Full Changelog: v1.1.2...v2.0.0
v1.1.2
Version 1.1.1
- Fix a bug preventing to disable the headless mode
Version 1.1.0
- Add a
PANTHER_DEVTOOLSenvironment variable to disable the dev tools - Add a
PANTHER_ERROR_SCREENSHOT_ATTACHenvironment variable to attach screenshots to PHPUnit reports in the JUnit format - Add a
chromedriver_argumentsoption to pass custom arguments to Chromedriver - Add an
envoption to pass custom environment variables to the built-in web server fromPantherTestCase - 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
--debugoption - Fix the
ServerExtensionwhenregisterClient()is called multiple times - Fix
undefined constanterrors when usingPantherTestCaseTraitdirectly
Version 1.0.1
- Fix storing screenshots in the wrong directory when
PANTHER_ERROR_SCREENSHOT_DIRis enabled
Version 1.0.0 🎉
- Add
Client::waitForEnabled(),Client::waitForDisabled(),Client::waitForAttributeToContain()andClient::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(), andPantherTestCase::assertSelectorAttributeWillNotContain()
assertions - Automatically take a screenshot when a test fail and if the
PANTHER_ERROR_SCREENSHOT_DIRenvironment 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
HttpBrowserinstead - Breaking Change: Remove deprecated support for
PANTHER_CHROME_DRIVER_BINARYandPANTHER_GECKO_DRIVER_BINARYenvironment variables, add the binaries in yourPATHinstead - Don't allow unserializing classes with a destructor