Skip to content

Commit 0fa769a

Browse files
committed
Remove minus-1
1 parent a24765d commit 0fa769a

3 files changed

Lines changed: 1 addition & 5 deletions

File tree

docs/index.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1500,9 +1500,6 @@ <h4 id="browser-versions"><a class="anchor" href="#browser-versions"></a>3.4.1.
15001500
<p><code>"latest"</code> : To specify the latest version explicitly (default option).</p>
15011501
</li>
15021502
<li>
1503-
<p><code>"latest-N"</code> : Where <code>N</code> is an integer value to be subtracted from the current stable version. For example, if we specify <code>latest-1</code> (i.e., <em>latest version minus one</em>), the previous version to the stable release will be used (see an example <a href="https://github.com/bonigarcia/webdrivermanager/blob/master/src/test/java/io/github/bonigarcia/wdm/test/docker/DockerChromeVersionsTest.java">here</a>).</p>
1504-
</li>
1505-
<li>
15061503
<p><code>"beta"</code>: To use the beta version.</p>
15071504
</li>
15081505
<li>

src/doc/asciidoc/index.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ A significant aspect of the browser containers presented so far is that WebDrive
192192
Nevertheless, we can force a given browser version in Docker using the method `browserVersion()` of the WebDriverManager API. This method accepts a `String` parameter specifying the version. This version can be fixed (e.g., `132.0`), and it also accepts the following wildcards:
193193

194194
* `"latest"` : To specify the latest version explicitly (default option).
195-
* `"latest-N"` : Where `N` is an integer value to be subtracted from the current stable version. For example, if we specify `latest-1` (i.e., _latest version minus one_), the previous version to the stable release will be used (see an example https://github.com/bonigarcia/webdrivermanager/blob/master/src/test/java/io/github/bonigarcia/wdm/test/docker/DockerChromeVersionsTest.java[here]).
196195
* `"beta"`: To use the beta version.
197196
* `"dev"`: To use the development version.
198197

src/test/java/io/github/bonigarcia/wdm/test/docker/DockerChromeVersionsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
class DockerChromeVersionsTest {
3030

3131
@ParameterizedTest
32-
@ValueSource(strings = { "", "133", "133.0", "latest", "latest-1" })
32+
@ValueSource(strings = { "", "133", "133.0", "latest" })
3333
void test(String browserVersion) {
3434
WebDriverManager wdm = WebDriverManager.chromedriver()
3535
.clearResolutionCache().browserInDocker()

0 commit comments

Comments
 (0)