Skip to content

Releases: minkphp/MinkSelenium2Driver

1.7.0

09 Dec 12:00
v1.7.0
Compare
Choose a tag to compare

BC break (when doing custom logic with syn):

  • syn JS library was upgraded from v0.0.3 to v0.15.0

New features:

  • Added parameter types for all methods
  • Added support for Symfony 7

Bug fixes:

  • Fix compatibility of execute with Selenium 4
  • Selenium2Driver::{keyPress, keyDown, keyUp} methods were using numeric string input as char code. Newly an integer type must be passed. Strings are not handled as strings properly, as done in other Mink drivers.
  • Add proper error handling for non-started sessions

Testsuite:

  • Fixed compatibility with the latest driver testsuite
  • Added CI jobs for PHP 8.2 and 8.3
  • Added static analysis with phpstan

1.6.0

28 Mar 14:56
v1.6.0
Compare
Choose a tag to compare

Removed:

  • Removed support for PHP <7.2

Testsuite:

  • Fixed compatibility with the latest driver testsuite

1.5.0

12 Oct 16:02
v1.5.0
Compare
Choose a tag to compare

New features:

  • Improved responsiveness of the wait method
  • Fixed deprecation warnings on PHP 7.1

Bug fixes:

  • Catched the StaleElementReference exception that happens in some cases in setValue if the JS code changes the DOM when the value changes
  • Catched the UnknownError exception that happens in ChromeDriver when trying to use moveTo
  • Fixed the handling of errors reported when applying timeouts, to avoid marking the driver as not started when the session is started

Testsuite:

  • Added CI jobs on PHP 8.0 and 8.1

1.4.0

11 Mar 14:44
v1.4.0
Compare
Choose a tag to compare

Bug fixes:

  • Changed phpdoc types from Boolean to boolean to be compatible with psalm type checking
  • Don't use TABs, when triggering change JS event upon input value is change (fixes some auto-complete control testing in Google Chrome)
  • Fixed inability to manipulate windows when Selenium 3 with Firefox GeckoDriver was used
  • The clickOnElement method wasn't working when Selenium 3 with Firefox GeckoDriver was used
  • Fixed the handling of cookies on PHP 7.4

Changes:

  • Bumped requirement to PHP 5.4

New features:

  • Allow uploading files to remote Selenium instances (e.g. SauceLabs, BrowserStack, etc.)
  • Added getDesiredCapabilities method for fetching current desired capabilities
  • Added support for goog:chromeOptions to specify custom Chrome options, which is the name used by newer ChromeDriver releases

Testsuite:

  • Don't test on PHP 5.3 (driver itself would likely continue to work on PHP 5.3 for some time)
  • Adding testing on PHP 7.1, 7.2, 7.3 and 7.4
  • Removed PhantomJS

Misc:

  • Syn library is 0.0.3
  • The setDesiredCapabilities method combines default capabilities with user provided ones
  • Removed outdated default capabilities
  • The setDesiredCapabilities method will throw an exception, when used on a started session

1.3.1

05 Mar 09:32
Compare
Choose a tag to compare

Bug fixes:

  • Fixed the handling of cookies with semicolon in the value

Testsuite:

  • Add testing on PHP 7

1.3.0

21 Sep 21:11
Compare
Choose a tag to compare

New features:

  • Updated the driver to use findElementsXpaths for Mink 1.7 and forward compatibility with Mink 2

Testsuite:

  • Fixed the window name test for the chrome driver
  • Add testing on PhantomJS 2

Misc:

  • Updated the repository structure to PSR-4