摘要:
在搭建自动化测试框架时,经常会使用config.properties文件存储配置,文件内容格式如下: 读取config.properties文件代码如下: public class Putils { public static Properties readConfig(){ Properties 阅读全文
摘要:
1、显式等待: public static void waitForLoad(WebDriver driver, final By locator, int timeOut) { WebDriverWait wait = new WebDriverWait(driver, timeOut); // 阅读全文