public class Window extends DesktopElement
Constructor and Description |
---|
Window(org.openqa.selenium.WebElement element) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the window.
|
Menu |
contextMenu()
Gets the context menu for the window.
|
boolean |
isModal()
Gets if the window is modal.
|
List<Window> |
modalWindows()
Gets a list of all modal child windows.
|
void |
move(int x,
int y)
Moves the window to the given coordinates.
|
TitleBar |
popup()
Gets the current WPF popup window.
|
void |
setTransparency(byte alpha)
Brings the element to the foreground.
|
String |
title()
Gets the title of the window.
|
TitleBar |
titleBar()
Gets the "TitleBar" of the window.
|
callValueCommand, callValueCommand, callValueCommand, callValueCommand, callValueCommand, callValueCommand, callVoidCommand, createLocalDateTimeFromResponse, createRemoteWebElementFromResponse, createRemoteWebElementsFromResponse, exe, getActiveWindow, getName, parseDateTime, parseDouble
clear, click, equals, execute, findElement, findElement, findElementByClassName, findElementByCssSelector, findElementById, findElementByLinkText, findElementByName, findElementByPartialLinkText, findElementByTagName, findElementByXPath, findElements, findElements, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByLinkText, findElementsByName, findElementsByPartialLinkText, findElementsByTagName, findElementsByXPath, getAttribute, getCoordinates, getCssValue, getId, getLocation, getRect, getScreenshotAs, getSize, getTagName, getText, getWrappedDriver, hashCode, isDisplayed, isEnabled, isSelected, sendKeys, setFileDetector, setFoundBy, setId, setParent, submit, toJson, toString
public String title()
public boolean isModal()
public TitleBar titleBar()
public TitleBar popup()
public Menu contextMenu()
public void close()
public void move(int x, int y)
x
- y
- public void setTransparency(byte alpha)
alpha
- Copyright © 2021. All rights reserved.