첨부 실행 코드는 나눔고딕코딩 폰트를 사용합니다.
------------------------------------------------------------------------------------------------------------------------------------------------------
728x90
728x170

■ ITimeouts 인터페이스의 PageLoad 속성을 사용해 페이지 로드시 타임아웃을 설정하는 방법을 보여준다.

 

▶ 예제 코드 (C#)

using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;

ChromeDriverService driverService = ChromeDriverService.CreateDefaultService();

ChromeDriver driver = new ChromeDriver(driverService, new ChromeOptions());

IOptions options = driver.Manage();

ITimeouts timeouts = options.Timeouts();

timeouts.PageLoad = TimeSpan.FromSeconds(5);
728x90
그리드형(광고전용)
Posted by icodebroker
,