A browser testing and web crawling library for PHP and Symfony
matches()
and closest()
in Crawler
PantherTestCaseTrait::$webServerDir
before initialization by @kbond in https://github.com/symfony/panther/pull/523
Full Changelog: https://github.com/symfony/panther/compare/v2.0.0...v2.0.1
Full Changelog: https://github.com/symfony/panther/compare/v1.1.2...v2.0.0
Form::offsetGet()
return type by @chalasr in https://github.com/symfony/panther/pull/500
Full Changelog: https://github.com/symfony/panther/compare/v1.1.1...v1.1.2
PANTHER_DEVTOOLS
environment variable to disable the dev toolsPANTHER_ERROR_SCREENSHOT_ATTACH
environment variable to attach screenshots to PHPUnit reports in the JUnit formatchromedriver_arguments
option to pass custom arguments to Chromedriverenv
option to pass custom environment variables to the built-in web server from PantherTestCase
ChromeManager
lanfest/binary-chromedriver
PantherClient
--debug
optionServerExtension
when registerClient()
is called multiple timesundefined constant
errors when using PantherTestCaseTrait
directlyPANTHER_ERROR_SCREENSHOT_DIR
is enabledClient::waitForEnabled()
, Client::waitForDisabled()
, Client::waitForAttributeToContain()
and Client::waitForAttributeToNotContain()
methodsPantherTestCase::assertSelectorAttributeContains()
, PantherTestCase::assertSelectorAttributeNotContains()
, PantherTestCase::assertSelectorWillExist()
,
PantherTestCase::assertSelectorWillNotExist()
, PantherTestCase::assertSelectorWillBeVisible()
, PantherTestCase::assertSelectorWillNotBeVisible()
,
PantherTestCase::assertSelectorWillContain()
, PantherTestCase::assertSelectorWillNotContain()
, PantherTestCase::assertSelectorWillBeEnabled()
,
PantherTestCase::assertSelectorWillBeDisabled
, PantherTestCase::assertSelectorAttributeWillContain()
, and PantherTestCase::assertSelectorAttributeWillNotContain()
assertionsPANTHER_ERROR_SCREENSHOT_DIR
environment variable is setHttpBrowser
insteadPANTHER_CHROME_DRIVER_BINARY
and PANTHER_GECKO_DRIVER_BINARY
environment variables, add the binaries in your PATH
insteadClient::waitForStaleness()
method to wait for an element to be removed from the DOMClient::waitForInvisibility()
method to wait for an element to be invisibleClient::waitForElementToContain()
method to wait for an element containing the given parameterClient::waitForElementToNotContain()
method to wait for an element to not contain the given parameterPantherTestCase::assertSelectorIsVisible()
, PantherTestCase::assertSelectorIsNotVisible()
, PantherTestCase::assertSelectorIsEnabled()
and PantherTestCase::assertSelectorIsDisabled()
assertionsbaseUri
not taken into account when using Symfony HttpBrowser