Revision e37e4d0c
Added by Andreas Kohlbecker over 6 years ago
src/main/java/eu/etaxonomy/dataportal/pages/TaxonSearchResultPage.java | ||
---|---|---|
27 | 27 |
|
28 | 28 |
/** |
29 | 29 |
* @author andreas |
30 |
* @date Aug 12, 2011
|
|
30 |
* @since Aug 12, 2011
|
|
31 | 31 |
* |
32 | 32 |
*/ |
33 | 33 |
public class TaxonSearchResultPage extends GenericPortalPage { |
... | ... | |
62 | 62 |
/** |
63 | 63 |
* @param driver |
64 | 64 |
* @param context |
65 |
* @throws Exception |
|
66 | 65 |
*/ |
67 | 66 |
public TaxonSearchResultPage(WebDriver driver, DataPortalContext context) throws Exception { |
68 | 67 |
super(driver, context); |
... | ... | |
74 | 73 |
* The item can be specified by the index paramter. |
75 | 74 |
* @param index 1-based index to identify the resultset item. |
76 | 75 |
* This index will be used in a xpath query. |
77 |
* @return |
|
76 |
|
|
78 | 77 |
*/ |
79 | 78 |
public TaxonListElement getResultItem(int index) { |
80 | 79 |
|
... | ... | |
85 | 84 |
|
86 | 85 |
/** |
87 | 86 |
* Find and returns all items of the result list. |
88 |
* @return |
|
89 | 87 |
*/ |
90 | 88 |
public List<TaxonListElement> getResultItems() { |
91 | 89 |
|
... | ... | |
107 | 105 |
LinkElement taxonlink = new LinkElement(taxonListElement.getElement().findElement(By.tagName("a"))); |
108 | 106 |
logger.debug("taxonlink to click: " + taxonlink.toString() + " [" + taxonlink.getElement().toString() + "]"); |
109 | 107 |
logger.debug(" waiting for visibility of css selector: .page-cdm-dataportal-taxon-" + taxonUuid.toString() + " ..."); |
110 |
return (T) clickLink(taxonlink, new VisibilityOfElementLocated(By.cssSelector(".page-cdm-dataportal-taxon-" + taxonUuid.toString())),
|
|
108 |
return clickLink(taxonlink, new VisibilityOfElementLocated(By.cssSelector(".page-cdm-dataportal-taxon-" + taxonUuid.toString())), |
|
111 | 109 |
pageClass, 2l, TimeUnit.MINUTES); |
112 | 110 |
|
113 | 111 |
} |
Also available in: Unified diff
ref #6241 disabling doclint in javadoc for jdk.8 and fixing a couple of java doc problems