File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public String getPageTitle() {
3737 }
3838
3939 public Element findElement (By locator ) {
40- var nativeWebElement = wait .until (ExpectedConditions .presenceOfElementLocated (locator ));
40+ WebElement nativeWebElement = wait .until (ExpectedConditions .presenceOfElementLocated (locator ));
4141 Element element = new ElementBase (nativeWebElement , locator );
4242 // use decorated element
4343 Element logElement = new ElementLogger (element );
@@ -48,7 +48,7 @@ public Element findElement(By locator) {
4848 public List <Element > findElements (By locator ) {
4949 List <WebElement > nativeWebElements =
5050 wait .until (ExpectedConditions .presenceOfAllElementsLocatedBy (locator ));
51- var elements = new ArrayList <Element >();
51+ ArrayList < Element > elements = new ArrayList <Element >();
5252 for (WebElement nativeWebElement :nativeWebElements ) {
5353 Element element = new ElementBase (nativeWebElement , locator );
5454 Element logElement = new ElementLogger (element );
You can’t perform that action at this time.
0 commit comments