Releases: minkphp/MinkSelenium2Driver
Releases · minkphp/MinkSelenium2Driver
1.7.0
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
1.5.0
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 insetValue
if the JS code changes the DOM when the value changes - Catched the
UnknownError
exception that happens in ChromeDriver when trying to usemoveTo
- 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
Bug fixes:
- Changed phpdoc types from
Boolean
toboolean
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