Skip to content

Latest commit

 

History

History
82 lines (64 loc) · 2.96 KB

CHANGELOG.md

File metadata and controls

82 lines (64 loc) · 2.96 KB

CHANGELOG

0.6.1

  • Upgrade ChromeDriver to version 79.0.3945.36
  • Allow to pass custom timeouts as options of ChromeManager (connection_timeout_in_ms and request_timeout_in_ms)

0.6.0

  • Add compatibility with Symfony 5
  • Allow to use Client::waitFor() to wait for invisible elements
  • Add support to pass XPath expressions as parameters of Client::waitFor()
  • Fix Crawler::attr() signature (it can return null)
  • Deprecate ServerListener (use ServerExtension instead)
  • Upgrade ChromeDriver to version 78.0.3904.70
  • New logo
  • Various docs fixes and improvements

0.5.2

  • Fix a bug occurring when using a non-fresh client

0.5.1

  • Allow to override the APP_ENV environment variable passed to the web server by setting PANTHER_APP_ENV
  • Fix using assertions with a client created through PantherTestCase::createClient()
  • Don't call PantherTestCase::getClient() if this method isn't static
  • Fix remaining deprecations

0.5.0

  • Add support for Crawler test assertions
  • Add the PantherTestCase::createAdditionalPantherClient() to retrieve additional isolated browsers, useful to test applications using Mercure or WebSocket
  • Improved support for non-standard web server directories
  • Allow the integrated web server to start even if the homepage doesn't return a 200 HTTP status code
  • Increase default timeouts from 5 seconds to 30 seconds
  • Improve error messages
  • Add compatibility with Symfony 4.3
  • Upgrade ChromeDriver to version 76.0.3809.68
  • Various quality improvements

0.4.1

  • Remove the direct dependency to symfony/contracts

0.4.0

  • Speed up the boot sequence
  • Add basic support for file uploads
  • Add a readinessPath option to use a custom path for server readiness detection
  • Fix the behavior of ChoiceFormField::getValue() to be consistent with other BrowserKit implementations
  • Ensure to clean the previous content of field when using TextareaFormField::setValue() and InputFormField::setValue()

0.3.0

  • Add a new API to manipulate the mouse
  • Keep the browser window open on fail, when running in non-headless mode
  • Automatically open Chrome DevTools when running in non-headless mode
  • PHPUnit 8 compatibility
  • Add a PHPUnit extension to keep alive the web server and the client between tests
  • Change the default port of the web server to 9080 to prevent a conflict with Xdebug
  • Allow to use an external web server instead of the built-in one for testing
  • Allow to use a custom router script
  • Allow to use a custom Chrome binary

0.2.0

  • Add JS execution capabilities to Client
  • Allow keeping the web server and client active even after test teardown
  • Add a method to refresh the crawler (Client::refreshCrawler())
  • Add options to configure the web server and ChromeDriver
  • PHP 7.1 compatibility