We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7c31b0 commit adb6753Copy full SHA for adb6753
src/main/java/org/openqa/selenium/WebDriver.java
@@ -353,6 +353,14 @@ interface TargetLocator {
353
*/
354
WebDriver frame(WebElement frameElement);
355
356
+ /**
357
+ * Change focus to the parent context. If the current context is the top level browsing context,
358
+ * the context remains unchanged.
359
+ *
360
+ * @return This driver focused on the parent frame
361
+ */
362
+ WebDriver parentFrame();
363
+
364
/**
365
* Switch the focus of future commands for this driver to the window with the given name/handle.
366
*
0 commit comments