
org.phoenix.utils.SystemInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of phoenix_webdriver Show documentation
Show all versions of phoenix_webdriver Show documentation
update:检查点bug修复,增加js执行的驱动,commandExecutor方法bug修复,驱动更新支持最新Firefox47/chrome51/IE10/IE11/IE Edge
package org.phoenix.utils;
import java.util.Properties;
public class SystemInfo {
public static int getArch(){
if(System.getProperty("os.arch").contains("64")){
return 64;
}else{
return 32;
}
}
public static boolean isWindows(){
if(System.getProperty("os.name").toLowerCase().contains("windows")){
return true;
}
return false;
}
public static Properties getSystemProperties(){
System.getProperties().list(System.out);
return System.getProperties();
}
public static void main(String[] args) {
System.out.println(SystemInfo.isWindows());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy