Skip to content

Commit aa90f69

Browse files
committed
Update changelog
1 parent 17437fa commit aa90f69

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

CHANGELOG.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,21 @@
22
This project versioning adheres to [Semantic Versioning](http://semver.org/).
33

44
## Unreleased
5+
### Added
6+
- Added `getCapabilities()` method of `RemoteWebDriver`, to retrieve actual capabilities acknowledged by the remote driver on startup.
7+
- Added option to pass required capabilities when creating `RemoteWebDriver`. (So far only desired capabilities were supported.)
8+
- Added new expected conditions:
9+
- `titleMatches` - current page title matches regular expression
10+
- `elementTextIs` - text in element exactly equals given text
11+
- `elementTextMatches` - text in element matches regular expression
12+
- `elementTextContains` (as an alias for `textToBePresentInElement`) - text in element contains given text
13+
- `numberOfWindowsToBe` - number of opened windows equals given number
14+
15+
### Changed
516
- `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.
617
- Clarified meaning of selenium server URL variable in methods of `RemoteWebDriver` class.
718
- Deprecated `setSessionID()` and `setCommandExecutor()` methods of `RemoteWebDriver` class; these values should be immutable and thus passed only via constructor.
8-
- Added `getCapabilities()` method of `RemoteWebDriver`, to retrieve actual capabilities acknowledged by the remote driver on startup.
9-
- Added option to pass required capabilities when creating `RemoteWebDriver`. (So far only desired capabilities were supported.)
19+
- Deprecated `WebDriverExpectedCondition::textToBePresentInElement()` in favor of `elementTextContains()`
1020

1121
## 1.2.0 - 2016-10-14
1222
- Added initial support of remote Microsoft Edge browser (but starting local EdgeDriver is still not supported).

0 commit comments

Comments
 (0)