示例#1
0
 public String getText() {
   waitUntilVisible();
   return webElement.getText();
 }
示例#2
0
 public boolean isSelected() {
   waitUntilVisible();
   return webElement.isSelected();
 }
示例#3
0
 public String getSelectedValue() {
   waitUntilVisible();
   Select select = new Select(webElement);
   return select.getFirstSelectedOption().getAttribute("value");
 }
示例#4
0
 public String getValue() {
   waitUntilVisible();
   return webElement.getAttribute("value");
 }
示例#5
0
 public String getSelectedVisibleTextValue() {
   waitUntilVisible();
   Select select = new Select(webElement);
   return select.getFirstSelectedOption().getText();
 }