Пример #1
0
 @Test
 public void testHasVal() {
   DefaultWebElements webElems = wd.find(":text").withName("q");
   assertThat(webElems).hasVal("foo").hasAttr("href", "google.com");
 }
Пример #2
0
 @AfterTest
 public void close() {
   wd.quit();
 }