![Full Screen](https://www.lambdatest.com/automation-testing-advisor/resources/images/top_arrow.svg)
1package config;2import org.openqa.selenium.WebDriver;3import org.openqa.selenium.WebElement;4import org.openqa.selenium.support.ui.ISelect;5import util.EnhancedExpectedCondition;6import util.helpers.ComponentsHelper;7/**8 * Created by ShepardPin on 13/2/2018.9 */10public interface ComponentImp {11 String getPath();12 default WebElement getWebElement(WebDriver driver , String el_key){13 return ComponentsHelper.getComponent(this).getWebElement(driver,el_key);14 }15 default WebElement getWebElement(WebDriver driver , String el_key, EnhancedExpectedCondition expectedCondition){16 return ComponentsHelper.getComponent(this).getWebElement(driver,el_key,expectedCondition,null);17 }18 default ISelect getWebSelect(WebDriver driver , String el_key){19 return ComponentsHelper.getComponent(this).getSelectElement(driver,el_key);20 }21 default ISelect getWebSelect(WebDriver driver , String el_key,EnhancedExpectedCondition expectedCondition){22 return ComponentsHelper.getComponent(this).getSelectElement(driver,el_key,expectedCondition);23 }24 default WebElement getListWebElement(WebDriver driver , String el_key, EnhancedExpectedCondition expectedCondition ,int row){25 return ComponentsHelper.getComponent(this).getWebElement(driver,el_key,expectedCondition,Integer.valueOf(row));26 }27 default WebElement getListWebElement(WebDriver driver , String el_key ,int row){28 return ComponentsHelper.getComponent(this).getWebElement(driver,el_key,null,Integer.valueOf(row));29 }30}...
![Full Screen](https://www.lambdatest.com/automation-testing-advisor/resources/images/bottom_arrow.svg)