标签: java selenium selenium-webdriver
我使用java代码在cmd中使用命令启动了.exe文件,此后,我需要继续使用硒。怎么做? 这是代码:
Runtime rt = Runtime.getRuntime(); rt.exec("cmd.exe /c cd \""+newDir+"\" & start cmd.exe /k \"uistud.exe /renew\""); driver.get(""); //here how to get the page launched in the previous step