我收到错误:Cannot resolve symbol Login_Page
以下代码。
似乎与此行错误相关的错误:private PageFactory.Login_Page page = new PageFactory.Login_Page(_driver);
public class Tests extends Utils
{
private PageFactory.Login_Page page = new PageFactory.Login_Page(_driver);
@Before
public void initialization()
{
_driver = new ChromeDriver();
_driver.navigate().to("https://mail.google.com/");
}
@Test
public void test1()
{
try {
page.LoginAct();
}
catch (Exception e) {
e.printStackTrace();
}
}}