最新回答 / 慕勒4495694
package denglu;/**?* 實(shí)現(xiàn)了從百度搜索慕課網(wǎng)-打開慕課網(wǎng)?*/import static org.junit.Assert.*;import java.util.concurrent.TimeUnit;import org.junit.After;import org.junit.Before;import org.junit.Test;import org.openqa.selenium.By;import org.openqa.selenium.WebDriver;import o...
2017-06-04
出現(xiàn)這個(gè)報(bào)錯(cuò):Exception in thread "main" org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: VISTA
Build info: version: '2.46.0', revision: '87c69e2', time: '2015-06-04 16:17:10'
Build info: version: '2.46.0', revision: '87c69e2', time: '2015-06-04 16:17:10'
2017-05-26
已采納回答 / qq__8667
這個(gè)是設(shè)定火狐瀏覽器的,加入你是自定義安裝的,就得寫這個(gè)方法,前面的參數(shù)是火狐瀏覽器的驅(qū)動(dòng),后面的是你安裝的本地路徑
2017-05-18