00183 20151105 selenium Wait for page load in Selenium - AngryQA/blog GitHub Wiki

[selenium] Wait for page load in Selenium

AngryQA | 2015-11-05 λͺ©μš”일 μ˜€ν›„ 2:55 | ν…ŒμŠ€νŠΈ 도ꡬ/Selenium / μ›Ή ν…ŒμŠ€νŠΈ μžλ™ν™” | 원본

νŽ˜μ΄μ§€ λ‘œλ“œ μ™„λ£Œ ν›„ λ‹€μŒμ„ ν–‰λ™ν•΄λ³΄μž!

 

|

1

2

3

|

        WebDriverWait wait = new WebDriverWait(driver, 40);

        WebElement element = wait.until(ExpectedConditions.elementToBeClickable(By.xpath("")));

        System.out.println("element : " + element);

Colored by Color Scripter

| cs |

xpath 뢀뢄은 μ·¨ν–₯에 맞게 λ³€κ²½ν•΄μ„œ μ‚¬μš©ν•˜μž

Comments

μ•„ν•­

빈슀윀 Beenbyoon | 2015-11-05 λͺ©μš”일 μ˜€ν›„ 4:59

--

μ•„ν•­

빈슀윀 Beenbyoon | 2015-11-05 λͺ©μš”일 μ˜€ν›„ 4:59

--