1717
1818package org .openqa .selenium ;
1919
20- import org .openqa .selenium .logging .Logs ;
2120import org .openqa .selenium .logging .LoggingPreferences ;
21+ import org .openqa .selenium .logging .Logs ;
2222
2323import java .net .URL ;
2424import java .util .List ;
@@ -75,7 +75,7 @@ public interface WebDriver extends SearchContext {
7575 * The title of the current page.
7676 *
7777 * @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
7979 */
8080 String getTitle ();
8181
@@ -98,7 +98,7 @@ public interface WebDriver extends SearchContext {
9898 * This method is affected by the 'implicit wait' times in force at the time of execution.
9999 * The findElement(..) invocation will return a matching row, or try again repeatedly until
100100 * the configured timeout is reached.
101- * <p>
101+ *
102102 * findElement should not be used to look for non-present elements, use {@link #findElements(By)}
103103 * and assert zero length response instead.
104104 *
@@ -164,7 +164,7 @@ public interface WebDriver extends SearchContext {
164164 * URL.
165165 *
166166 * @return A {@link org.openqa.selenium.WebDriver.Navigation} that allows the selection of what to
167- * do next
167+ * do next
168168 */
169169 Navigation navigate ();
170170
@@ -242,7 +242,7 @@ interface Options {
242242
243243 /**
244244 * Gets the {@link Logs} interface used to fetch different types of logs.
245- * <p>
245+ *
246246 * <p>To set the logging preferences {@link LoggingPreferences}.
247247 *
248248 * @return A Logs interface.
@@ -318,7 +318,7 @@ interface TargetLocator {
318318 * precedence over those matched by ID.
319319 *
320320 * @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
322322 * @return This driver focused on the given frame
323323 * @throws NoSuchFrameException If the frame cannot be found
324324 */
@@ -329,7 +329,7 @@ interface TargetLocator {
329329 *
330330 * @param frameElement The frame element to switch to.
331331 * @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.
333333 * @throws StaleElementReferenceException If the WebElement has gone stale.
334334 * @see WebDriver#findElement(By)
335335 */
@@ -347,7 +347,7 @@ interface TargetLocator {
347347 * Switch the focus of future commands for this driver to the window with the given name/handle.
348348 *
349349 * @param nameOrHandle The name of the window or the handle as returned by
350- * {@link WebDriver#getWindowHandle()}
350+ * {@link WebDriver#getWindowHandle()}
351351 * @return This driver focused on the given window
352352 * @throws NoSuchWindowException If the window cannot be found
353353 */
@@ -367,7 +367,7 @@ interface TargetLocator {
367367 * "document.activeElement" in Javascript.
368368 *
369369 * @return The WebElement with focus, or the body element if no element with focus can be
370- * detected.
370+ * detected.
371371 */
372372 WebElement activeElement ();
373373
@@ -461,10 +461,11 @@ interface ImeHandler {
461461 * platform-independent method of activating IME (the platform-specific way being using keyboard
462462 * shortcuts).
463463 *
464+ *
464465 * @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.
466467 * @throws ImeActivationFailedException if the engine is not available or if activation failed
467- * for other reasons.
468+ * for other reasons.
468469 */
469470 void activateEngine (String engine );
470471 }
@@ -512,4 +513,4 @@ interface Window {
512513 */
513514 void fullscreen ();
514515 }
515- }
516+ }
0 commit comments