Skip to content

Commit

Permalink
Update doc for version 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed Oct 27, 2023
1 parent ee57b82 commit 2424adb
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [5.0.0] - 2023-10-27
### Added
- Capabilities handler accepts also boolean capabilities (#409)

### Changed
- Use Java 17 (required for the use of Selenide dependency)
- Bump to WebDriverManager 5.6.7 (fix issues related to use host as Docker network)

### Fixed
- Use of Options.ofNullable in annotation reader logic (#410)


## [4.3.7] - 2023-08-01
### Changed
- Bump to WebDriverManager 5.5.3 (fix issues related to CfT request)
Expand Down
21 changes: 12 additions & 9 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@
<h1>Selenium-Jupiter</h1>
<div class="details">
<span id="author" class="author">Boni García</span><br>
<span id="revdate">Version 4.3.7</span>
<span id="revdate">Version 5.0.0</span>
</div>
<div id="toc" class="toc2">
<div id="toctitle">Table of Contents</div>
Expand Down Expand Up @@ -942,7 +942,7 @@ <h2 id="setup"><a class="anchor" href="#setup"></a>2. Setup</h2>
<pre class="CodeRay highlight"><code data-lang="xml"><span class="tag">&lt;dependency&gt;</span>
<span class="tag">&lt;groupId&gt;</span>io.github.bonigarcia<span class="tag">&lt;/groupId&gt;</span>
<span class="tag">&lt;artifactId&gt;</span>selenium-jupiter<span class="tag">&lt;/artifactId&gt;</span>
<span class="tag">&lt;version&gt;</span>4.3.7<span class="tag">&lt;/version&gt;</span>
<span class="tag">&lt;version&gt;</span>5.0.0<span class="tag">&lt;/version&gt;</span>
<span class="tag">&lt;scope&gt;</span>test<span class="tag">&lt;/scope&gt;</span>
<span class="tag">&lt;/dependency&gt;</span></code></pre>
</div>
Expand All @@ -953,7 +953,7 @@ <h2 id="setup"><a class="anchor" href="#setup"></a>2. Setup</h2>
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight"><code data-lang="json"><span class="error">d</span><span class="error">e</span><span class="error">p</span><span class="error">e</span><span class="error">n</span><span class="error">d</span><span class="error">e</span><span class="error">n</span><span class="error">c</span><span class="error">i</span><span class="error">e</span><span class="error">s</span> {
<span class="error">t</span><span class="error">e</span><span class="error">s</span><span class="error">t</span><span class="error">I</span><span class="error">m</span><span class="error">p</span><span class="error">l</span><span class="error">e</span><span class="error">m</span><span class="error">e</span><span class="error">n</span><span class="error">t</span><span class="error">a</span><span class="error">t</span><span class="error">i</span><span class="error">o</span><span class="error">n</span><span class="error">(</span><span class="string"><span class="delimiter">&quot;</span><span class="content">io.github.bonigarcia:selenium-jupiter:4.3.7</span><span class="delimiter">&quot;</span></span><span class="error">)</span>
<span class="error">t</span><span class="error">e</span><span class="error">s</span><span class="error">t</span><span class="error">I</span><span class="error">m</span><span class="error">p</span><span class="error">l</span><span class="error">e</span><span class="error">m</span><span class="error">e</span><span class="error">n</span><span class="error">t</span><span class="error">a</span><span class="error">t</span><span class="error">i</span><span class="error">o</span><span class="error">n</span><span class="error">(</span><span class="string"><span class="delimiter">&quot;</span><span class="content">io.github.bonigarcia:selenium-jupiter:5.0.0</span><span class="delimiter">&quot;</span></span><span class="error">)</span>
}</code></pre>
</div>
</div>
Expand Down Expand Up @@ -1209,9 +1209,10 @@ <h4 id="appium"><a class="anchor" href="#appium"></a>3.3.1. Appium</h4>
<span class="keyword">import</span> <span class="include">org.junit.jupiter.api.Test</span>;
<span class="keyword">import</span> <span class="include">org.junit.jupiter.api.extension.ExtendWith</span>;
<span class="keyword">import</span> <span class="include">org.openqa.selenium.chrome.ChromeOptions</span>;
<span class="keyword">import</span> <span class="include">org.openqa.selenium.remote.CapabilityType</span>;

<span class="keyword">import</span> <span class="include">io.appium.java_client.AppiumDriver</span>;
<span class="keyword">import</span> <span class="include">io.appium.java_client.remote.MobileCapabilityType</span>;
<span class="keyword">import</span> <span class="include">io.appium.java_client.android.options.EspressoOptions</span>;
<span class="keyword">import</span> <span class="include">io.github.bonigarcia.seljup.DriverCapabilities</span>;
<span class="keyword">import</span> <span class="include">io.github.bonigarcia.seljup.EnabledIfDriverUrlOnline</span>;
<span class="keyword">import</span> <span class="include">io.github.bonigarcia.seljup.SeleniumJupiter</span>;
Expand All @@ -1225,10 +1226,10 @@ <h4 id="appium"><a class="anchor" href="#appium"></a>3.3.1. Appium</h4>

<span class="annotation">@BeforeEach</span>
<span class="type">void</span> setup() {
options.setCapability(MobileCapabilityType.PLATFORM_NAME, <span class="string"><span class="delimiter">&quot;</span><span class="content">Android</span><span class="delimiter">&quot;</span></span>);
options.setCapability(MobileCapabilityType.DEVICE_NAME,
options.setCapability(CapabilityType.PLATFORM_NAME, <span class="string"><span class="delimiter">&quot;</span><span class="content">Android</span><span class="delimiter">&quot;</span></span>);
options.setCapability(EspressoOptions.DEVICE_NAME_OPTION,
<span class="string"><span class="delimiter">&quot;</span><span class="content">Nexus 5 API 30</span><span class="delimiter">&quot;</span></span>);
options.setCapability(MobileCapabilityType.AUTOMATION_NAME,
options.setCapability(EspressoOptions.AUTOMATION_NAME_OPTION,
<span class="string"><span class="delimiter">&quot;</span><span class="content">UiAutomator2</span><span class="delimiter">&quot;</span></span>);
}

Expand Down Expand Up @@ -1927,6 +1928,7 @@ <h4 id="tab-recording"><a class="anchor" href="#tab-recording"></a>3.7.3. Tab Re
<span class="keyword">import</span> <span class="include">java.util.concurrent.TimeUnit</span>;

<span class="keyword">import</span> <span class="include">org.junit.jupiter.api.BeforeEach</span>;
<span class="keyword">import</span> <span class="include">org.junit.jupiter.api.Disabled</span>;
<span class="keyword">import</span> <span class="include">org.junit.jupiter.api.Test</span>;
<span class="keyword">import</span> <span class="include">org.junit.jupiter.api.extension.RegisterExtension</span>;
<span class="keyword">import</span> <span class="include">org.openqa.selenium.By</span>;
Expand All @@ -1938,6 +1940,7 @@ <h4 id="tab-recording"><a class="anchor" href="#tab-recording"></a>3.7.3. Tab Re
<span class="keyword">import</span> <span class="include">io.github.bonigarcia.seljup.SeleniumJupiter</span>;
<span class="keyword">import</span> <span class="include">io.github.bonigarcia.seljup.Watch</span>;

<span class="annotation">@Disabled</span>
<span class="type">class</span> <span class="class">RecordEdgeTest</span> {

<span class="directive">static</span> <span class="directive">final</span> <span class="predefined-type">Logger</span> log = getLogger(lookup().lookupClass());
Expand Down Expand Up @@ -2627,8 +2630,8 @@ <h2 id="about"><a class="anchor" href="#about"></a>10. About</h2>
</div>
<div id="footer">
<div id="footer-text">
Version 4.3.7<br>
Updated on 01-09-2023
Version 5.0.0<br>
Updated on 27-10-2023
</div>
</div>
</body>
Expand Down
Binary file modified docs/selenium-jupiter.pdf
Binary file not shown.

0 comments on commit 2424adb

Please sign in to comment.