@@ -46,9 +46,8 @@ public final class WebDriverUnpackUtility {
46
46
* Note: if you want to use your own implementation then it should implement
47
47
* {@link WrapsDriver} or {@link WrapsElement}
48
48
* @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.
52
51
*/
53
52
@ Nullable
54
53
public static WebDriver unpackWebDriverFromSearchContext (SearchContext searchContext ) {
@@ -72,11 +71,10 @@ public static WebDriver unpackWebDriverFromSearchContext(SearchContext searchCon
72
71
/**
73
72
* Detects content type by the provided search {@code context}.
74
73
*
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}
80
78
* @return current content type. It depends on current context. If current context is
81
79
* NATIVE_APP it will return {@link ContentType#NATIVE_MOBILE_SPECIFIC}.
82
80
* {@link ContentType#HTML_OR_DEFAULT} will be returned if the current context is WEB_VIEW.
0 commit comments