Selenium PageFactory.InitElements(驱动程序,页面)--&燃气轮机;不推荐使用PageFactory
图像描述 我用Appium用页面对象工厂构建了我的项目,但是在PageFactory.InitElements(驱动程序、登录)中有一些问题;有消息-PageFactory已被去除润滑脂,将在下一版本中删除我需要执行的操作 我用这个 ''' ''' public static LoginScreen login=new LoginScreen() PageFactory.InitElements(驱动程序、登录)Selenium PageFactory.InitElements(驱动程序,页面)--&燃气轮机;不推荐使用PageFactory,selenium,selenium-webdriver,automation,appium,pageobjects,Selenium,Selenium Webdriver,Automation,Appium,Pageobjects,图像描述 我用Appium用页面对象工厂构建了我的项目,但是在PageFactory.InitElements(驱动程序、登录)中有一些问题;有消息-PageFactory已被去除润滑脂,将在下一版本中删除我需要执行的操作 我用这个 ''' ''' public static LoginScreen login=new LoginScreen() PageFactory.InitElements(驱动程序、登录) using OpenQA.Selenium.Appium.iOS; u
using OpenQA.Selenium.Appium.iOS;
using OpenQA.Selenium.Appium;
using OpenQA.Selenium.Support.PageObjects;