Commit a93b3ec5 authored by 马博's avatar 马博

test

parent fe46d0dc
......@@ -71,7 +71,7 @@ public class WebDriverFactory {
String OS = prop.getProperty("os.name");
boolean bl=OS.startsWith("Mac");
String basePath=WebDriverType.class.getClassLoader().getResource("").getPath();
basePath.replaceAll("%20"," ");//repaceAll("%20",'');
basePath = basePath.replaceAll("%20"," ");//repaceAll("%20",'');
File directory = new File("");
System.out.println("-----路径:"+directory.getAbsolutePath());
RemoteWebDriver browser=null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment