17
17
18
18
package org .openqa .selenium ;
19
19
20
- import org .openqa .selenium .logging .Logs ;
21
20
import org .openqa .selenium .logging .LoggingPreferences ;
21
+ import org .openqa .selenium .logging .Logs ;
22
22
23
23
import java .net .URL ;
24
24
import java .util .List ;
@@ -75,7 +75,7 @@ public interface WebDriver extends SearchContext {
75
75
* The title of the current page.
76
76
*
77
77
* @return The title of the current page, with leading and trailing whitespace stripped, or null
78
- * if one is not already set
78
+ * if one is not already set
79
79
*/
80
80
String getTitle ();
81
81
@@ -98,7 +98,7 @@ public interface WebDriver extends SearchContext {
98
98
* This method is affected by the 'implicit wait' times in force at the time of execution.
99
99
* The findElement(..) invocation will return a matching row, or try again repeatedly until
100
100
* the configured timeout is reached.
101
- * <p>
101
+ *
102
102
* findElement should not be used to look for non-present elements, use {@link #findElements(By)}
103
103
* and assert zero length response instead.
104
104
*
@@ -164,7 +164,7 @@ public interface WebDriver extends SearchContext {
164
164
* URL.
165
165
*
166
166
* @return A {@link org.openqa.selenium.WebDriver.Navigation} that allows the selection of what to
167
- * do next
167
+ * do next
168
168
*/
169
169
Navigation navigate ();
170
170
@@ -242,7 +242,7 @@ interface Options {
242
242
243
243
/**
244
244
* Gets the {@link Logs} interface used to fetch different types of logs.
245
- * <p>
245
+ *
246
246
* <p>To set the logging preferences {@link LoggingPreferences}.
247
247
*
248
248
* @return A Logs interface.
@@ -318,7 +318,7 @@ interface TargetLocator {
318
318
* precedence over those matched by ID.
319
319
*
320
320
* @param nameOrId the name of the frame window, the id of the <frame> or <iframe>
321
- * element, or the (zero-based) index
321
+ * element, or the (zero-based) index
322
322
* @return This driver focused on the given frame
323
323
* @throws NoSuchFrameException If the frame cannot be found
324
324
*/
@@ -329,7 +329,7 @@ interface TargetLocator {
329
329
*
330
330
* @param frameElement The frame element to switch to.
331
331
* @return This driver focused on the given frame.
332
- * @throws NoSuchFrameException If the given element is neither an IFRAME nor a FRAME element.
332
+ * @throws NoSuchFrameException If the given element is neither an IFRAME nor a FRAME element.
333
333
* @throws StaleElementReferenceException If the WebElement has gone stale.
334
334
* @see WebDriver#findElement(By)
335
335
*/
@@ -347,7 +347,7 @@ interface TargetLocator {
347
347
* Switch the focus of future commands for this driver to the window with the given name/handle.
348
348
*
349
349
* @param nameOrHandle The name of the window or the handle as returned by
350
- * {@link WebDriver#getWindowHandle()}
350
+ * {@link WebDriver#getWindowHandle()}
351
351
* @return This driver focused on the given window
352
352
* @throws NoSuchWindowException If the window cannot be found
353
353
*/
@@ -367,7 +367,7 @@ interface TargetLocator {
367
367
* "document.activeElement" in Javascript.
368
368
*
369
369
* @return The WebElement with focus, or the body element if no element with focus can be
370
- * detected.
370
+ * detected.
371
371
*/
372
372
WebElement activeElement ();
373
373
@@ -461,10 +461,11 @@ interface ImeHandler {
461
461
* platform-independent method of activating IME (the platform-specific way being using keyboard
462
462
* shortcuts).
463
463
*
464
+ *
464
465
* @param engine name of engine to activate.
465
- * @throws ImeNotAvailableException if the host does not support IME.
466
+ * @throws ImeNotAvailableException if the host does not support IME.
466
467
* @throws ImeActivationFailedException if the engine is not available or if activation failed
467
- * for other reasons.
468
+ * for other reasons.
468
469
*/
469
470
void activateEngine (String engine );
470
471
}
@@ -512,4 +513,4 @@ interface Window {
512
513
*/
513
514
void fullscreen ();
514
515
}
515
- }
516
+ }
0 commit comments