Skip to content

Commit b6aee49

Browse files
Github workflow fixes
1 parent b9e182d commit b6aee49

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

src/main/java/io/appium/java_client/AppiumBy.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ public static By custom(final String selector) {
166166
* as for OpenCV library.
167167
* @return an instance of {@link ByImage}
168168
* @see <a href="https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/image-comparison.md">
169-
* The documentation on Image Comparison Features</a>
169+
* The documentation on Image Comparison Features</a>.
170170
* @see <a href="https://github.com/appium/appium-base-driver/blob/master/lib/basedriver/device-settings.js">
171-
* The settings available for lookup fine-tuning</a>
171+
* The settings available for lookup fine-tuning</a>.
172172
* @since Appium 1.8.2
173173
*/
174174
public static By image(final String b64Template) {
@@ -178,9 +178,9 @@ public static By image(final String b64Template) {
178178
/**
179179
* This locator strategy is available in XCUITest Driver mode.
180180
*
181-
* @param iOSClassChainString is a valid class chain locator string.
182-
*See <a href="https://github.com/facebookarchive/WebDriverAgent/wiki/Class-Chain-Queries-Construction-Rules">
183-
* the documentation</a> for more details
181+
* @param iOSClassChainString is a valid class chain locator string
182+
* See <a href="https://github.com/facebookarchive/WebDriverAgent/wiki/Class-Chain-Queries-Construction-Rules">
183+
* the documentation</a> for more details.
184184
* @return an instance of {@link AppiumBy.ByIosClassChain}
185185
*/
186186
public static By iOSClassChain(final String iOSClassChainString) {

src/main/java/io/appium/java_client/pagefactory/utils/WebDriverUnpackUtility.java

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@ public final class WebDriverUnpackUtility {
4646
* Note: if you want to use your own implementation then it should implement
4747
* {@link WrapsDriver} or {@link WrapsElement}
4848
* @return the instance of {@link WebDriver}.
49-
* Note: if the given {@link SearchContext} is not
50-
* {@link WebDriver} and it doesn't implement
51-
* {@link WrapsDriver} or {@link WrapsElement} then this method returns null.
49+
* Note: if the given {@link SearchContext} is not {@link WebDriver} and it doesn't implement {@link WrapsDriver}
50+
* or {@link WrapsElement} then this method returns null.
5251
*/
5352
@Nullable
5453
public static WebDriver unpackWebDriverFromSearchContext(SearchContext searchContext) {
@@ -72,11 +71,10 @@ public static WebDriver unpackWebDriverFromSearchContext(SearchContext searchCon
7271
/**
7372
* Detects content type by the provided search {@code context}.
7473
*
75-
* @param context is an instance of {@link SearchContext}. It may be the instance of
76-
* {@link WebDriver} or {@link org.openqa.selenium.WebElement} or some other
77-
* user's extension/implementation.
78-
* Note: if you want to use your own implementation then it should
79-
* implement {@link ContextAware} or {@link WrapsDriver} or {@link HasBrowserCheck}
74+
* @param context is an instance of {@link SearchContext}. It may be the instance of {@link WebDriver} or
75+
* {@link org.openqa.selenium.WebElement} or some other user's extension/implementation.
76+
* Note: if you want to use your own implementation then it should implement {@link ContextAware} or
77+
* {@link WrapsDriver} or {@link HasBrowserCheck}
8078
* @return current content type. It depends on current context. If current context is
8179
* NATIVE_APP it will return {@link ContentType#NATIVE_MOBILE_SPECIFIC}.
8280
* {@link ContentType#HTML_OR_DEFAULT} will be returned if the current context is WEB_VIEW.

0 commit comments

Comments
 (0)