commit | author | age
|
2207d6
|
1 |
# Changelog |
W |
2 |
This project versioning adheres to [Semantic Versioning](http://semver.org/). |
|
3 |
|
|
4 |
## Unreleased |
|
5 |
|
|
6 |
## 1.7.1 - 2019-06-13 |
|
7 |
### Fixed |
|
8 |
- Error `Call to a member function toArray()` if capabilities were already converted to an array. |
|
9 |
- Temporarily do not send capabilities to disable W3C WebDriver protocol when BrowserStack hub is used. |
|
10 |
|
|
11 |
## 1.7.0 - 2019-06-10 |
|
12 |
### Added |
|
13 |
- `WebDriverCheckboxes` and `WebDriverRadios` helper classes to simplify interaction with checkboxes and radio buttons. |
|
14 |
|
|
15 |
### Fixed |
|
16 |
- Stop sending null values in Cookie object, which is against the protocol and may cause request to remote ends to fail. |
|
17 |
|
|
18 |
### Changed |
|
19 |
- Force Chrome to not use W3C WebDriver protocol. |
|
20 |
- Add workaround for Chromedriver bug [2943](https://bugs.chromium.org/p/chromedriver/issues/detail?id=2943) which breaks the protocol in Chromedriver 75. |
|
21 |
|
|
22 |
## 1.6.0 - 2018-05-16 |
|
23 |
### Added |
|
24 |
- Connection and request timeouts could be specified also when creating RemoteWebDriver from existing session ID. |
|
25 |
- Update PHPDoc for functions that return static instances of a class. |
|
26 |
|
|
27 |
### Changed |
|
28 |
- Disable sending 'Expect: 100-Continue' header with POST requests, as they may more easily fail when sending via eg. squid proxy. |
|
29 |
|
|
30 |
## 1.5.0 - 2017-11-15 |
|
31 |
### Changed |
|
32 |
- Drop PHP 5.5 support, the minimal required version of PHP is now PHP 5.6. |
|
33 |
- Allow installation of Symfony 4 components. |
|
34 |
|
|
35 |
### Added |
|
36 |
- Add a `visibilityOfAnyElementsLocated()` method to `WebDriverExpectedCondition`. |
|
37 |
|
|
38 |
## 1.4.1 - 2017-04-28 |
|
39 |
### Fixed |
|
40 |
- Do not throw notice `Constant CURLOPT_CONNECTTIMEOUT_MS already defined`. |
|
41 |
|
|
42 |
## 1.4.0 - 2017-03-22 |
|
43 |
### Changed |
|
44 |
- Cookies should now be set using `Cookie` value object instead of an array when passed to to `addCookie()` method of `WebDriverOptions`. |
|
45 |
- Cookies retrieved using `getCookieNamed()` and `getCookies()` methods of `WebDriverOptions` are now encapsulated in `Cookie` object instead of an plain array. The object implements `ArrayAccess` interface to provide backward compatibility. |
|
46 |
- `ext-zip` is now specified as required dependency in composer.json (but the extension was already required by the code, though). |
|
47 |
- Deprecate `WebDriverCapabilities::isJavascriptEnabled()` method. |
|
48 |
- Deprecate `textToBePresentInElementValue` expected condition in favor of `elementValueContains`. |
|
49 |
|
|
50 |
### Fixed |
|
51 |
- Do not throw fatal error when `null` is passed to `sendKeys()`. |
|
52 |
|
|
53 |
## 1.3.0 - 2017-01-13 |
|
54 |
### Added |
|
55 |
- Added `getCapabilities()` method of `RemoteWebDriver`, to retrieve actual capabilities acknowledged by the remote driver on startup. |
|
56 |
- Added option to pass required capabilities when creating `RemoteWebDriver`. (So far only desired capabilities were supported.) |
|
57 |
- Added new expected conditions: |
|
58 |
- `urlIs` - current URL exactly equals given value |
|
59 |
- `urlContains` - current URL contains given text |
|
60 |
- `urlMatches` - current URL matches regular expression |
|
61 |
- `titleMatches` - current page title matches regular expression |
|
62 |
- `elementTextIs` - text in element exactly equals given text |
|
63 |
- `elementTextContains` (as an alias for `textToBePresentInElement`) - text in element contains given text |
|
64 |
- `elementTextMatches` - text in element matches regular expression |
|
65 |
- `numberOfWindowsToBe` - number of opened windows equals given number |
|
66 |
- Possibility to select option of `<select>` by its partial text (using `selectByVisiblePartialText()`). |
|
67 |
- `XPathEscaper` helper class to quote XPaths containing both single and double quotes. |
|
68 |
- `WebDriverSelectInterface`, to allow implementation of custom select-like components, eg. those not built around and actual select tag. |
|
69 |
|
|
70 |
### Changed |
|
71 |
- `Symfony\Process` is used to start local WebDriver processes (when browsers are run directly, without Selenium server) to workaround some PHP bugs and improve portability. |
|
72 |
- Clarified meaning of selenium server URL variable in methods of `RemoteWebDriver` class. |
|
73 |
- Deprecated `setSessionID()` and `setCommandExecutor()` methods of `RemoteWebDriver` class; these values should be immutable and thus passed only via constructor. |
|
74 |
- Deprecated `WebDriverExpectedCondition::textToBePresentInElement()` in favor of `elementTextContains()`. |
|
75 |
- Throw an exception when attempting to deselect options of non-multiselect (it already didn't have any effect, but was silently ignored). |
|
76 |
- Optimize performance of `(de)selectByIndex()` and `getAllSelectedOptions()` methods of `WebDriverSelect` when used with non-multiple select element. |
|
77 |
|
|
78 |
### Fixed |
|
79 |
- XPath escaping in `select*()` and `deselect*()` methods of `WebDriverSelect`. |
|
80 |
|
|
81 |
## 1.2.0 - 2016-10-14 |
|
82 |
- Added initial support of remote Microsoft Edge browser (but starting local EdgeDriver is still not supported). |
|
83 |
- Utilize late static binding to make eg. `WebDriverBy` and `DesiredCapabilities` classes easily extensible. |
|
84 |
- PHP version at least 5.5 is required. |
|
85 |
- Fixed incompatibility with Appium, caused by redundant params present in requests to Selenium server. |
|
86 |
|
|
87 |
## 1.1.3 - 2016-08-10 |
|
88 |
- Fixed FirefoxProfile to support installation of extensions with custom namespace prefix in their manifest file. |
|
89 |
- Comply codestyle with [PSR-2](http://www.php-fig.org/psr/psr-2/). |
|
90 |
|
|
91 |
## 1.1.2 - 2016-06-04 |
|
92 |
- Added ext-curl to composer.json. |
|
93 |
- Added CHANGELOG.md. |
|
94 |
- Added CONTRIBUTING.md with information and rules for contributors. |
|
95 |
|
|
96 |
## 1.1.1 - 2015-12-31 |
|
97 |
- Fixed strict standards error in `ChromeDriver`. |
|
98 |
- Added unit tests for `WebDriverCommand` and `DesiredCapabilities`. |
|
99 |
- Fixed retrieving temporary path name in `FirefoxDriver` when `open_basedir` restriction is in effect. |
|
100 |
|
|
101 |
## 1.1.0 - 2015-12-08 |
|
102 |
- FirefoxProfile improved - added possibility to set RDF file and to add datas for extensions. |
|
103 |
- Fixed setting 0 second timeout of `WebDriverWait`. |