0
firefoxDriver 호출에서 firefox의 기본 프록시를 변경하려면 검색하십시오.셀레늄이 자동으로 파이어 폭스 프록시로 변경됩니다. C#
저는 C#으로 일합니다. 자바에서 내가 아는
은 당신이 할 :
FirefoxProfile ff = new FirefoxProfile();
ff.setPreference("network.proxy.type", ProxyType.AUTODETECT.ordinal());
FirefoxDriver ffD = new FirefoxDriver(ff);
내가 시도 :
FirefoxProfile ff = new FirefoxProfile();
ff.SetPreference ("network.proxy.type",ProxyKind.AutoDetect.ToString());
var driver = new FirefoxDriver(ff);