Skip to content

Commit deaa15f

Browse files
committed
Update changelog and docs
1 parent e796b40 commit deaa15f

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

changelog.markdown

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ title: Codeception Changelog
88
# Changelog
99

1010

11+
#### 4.1.2
12+
13+
* Fixed --no-redirect option does not exist error [#5857](https://github.com/Codeception/Codeception/issues/5857) by **[liamjtoohey](https://github.com/liamjtoohey)**
14+
* Init command: Check the composer option config.vendor_dir when updating composer [#5871](https://github.com/Codeception/Codeception/issues/5871) by **[gabriel-lima96](https://github.com/gabriel-lima96)**
15+
* Add return type hint to the generated actions above PHP 7.0 [#5862](https://github.com/Codeception/Codeception/issues/5862) by **[pezia](https://github.com/pezia)**
16+
* Prevent merged config array ballooning in memory [#5871](https://github.com/Codeception/Codeception/issues/5871) by **[AndrewFeeney](https://github.com/AndrewFeeney)**
17+
* Do not truncate arguments for --html options [#5870](https://github.com/Codeception/Codeception/issues/5870) by **[adaniloff](https://github.com/adaniloff)**
18+
1119
#### 4.1.1
1220

1321
* --no-artifacts flag for run command [#5646](https://github.com/Codeception/Codeception/issues/5646) by **[Mitrichius](https://github.com/Mitrichius)**

docs/modules/WebDriver.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2129,23 +2129,25 @@ Switch to another frame on the page.
21292129
Example:
21302130
{% highlight html %}
21312131

2132-
<iframe name="another_frame" src="http://example.com">
2132+
<iframe name="another_frame" id="fr1" src="http://example.com">
21332133
21342134
21352135
{% endhighlight %}
21362136
21372137
{% highlight php %}
21382138
21392139
<?php
2140-
# switch to iframe
2140+
# switch to iframe by name
21412141
$I->switchToIFrame("another_frame");
2142+
# switch to iframe by CSS or XPath
2143+
$I->switchToIFrame("#fr1");
21422144
# switch to parent page
21432145
$I->switchToIFrame();
21442146
21452147
21462148
{% endhighlight %}
21472149
2148-
* `param string|null` $name
2150+
* `param string|null` $locator (name, CSS or XPath)
21492151
21502152
21512153
#### switchToNextTab

docs/reference/InitTemplate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ Override this class to create customized setup.
244244

245245
#### updateComposerClassMap()
246246

247-
*private* updateComposerClassMap()
247+
*private* updateComposerClassMap($vendorDir = null)
248248

249-
[See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L332)
249+
[See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L336)
250250

251251
<p>&nbsp;</p><div class="alert alert-warning">Reference is taken from the source code. <a href="https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php">Help us to improve documentation. Edit module reference</a></div>

0 commit comments

Comments
 (0)