페이지의 요소를 확인하려고합니다. 테이블이 있고 여러 개의 입력이있는 행이 많이 있습니다. 테이블 행에서 입력에 액세스하는 방법? 대신 ID의 XPath를 사용하여 특정 입력 요소를 찾는 시도 할 수 있습니다 :Selenium Web Driver에서 테이블의 요소를 가져 오는 방법 JA
This is my java class
public class Setting extends Page {
/**Identify Elements of the page*/
@FindBy(id="table-settings")
private WebElement Table;
//Constructor
public Setting()
{
/**Initialize PageFactory WebElements*/
PageFactory.initElements(driver, this);
}
}
작동하는 경우 질문의 평가를 높일 수 있습니다. –