Skip to content

Commit

Permalink
hotfix: hola
Browse files Browse the repository at this point in the history
  • Loading branch information
in-seo committed Dec 29, 2024
1 parent 24edde8 commit da503b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void getHolaPostData(){
Thread.sleep(500);
int count = element.select(">a").size();
log.warn("글 갯수 = {} ",count);
for (int i = count; i > 0; i--) {
for (int i = count; i > 1; i--) {
if(i==count){
driver.findElement(By.cssSelector("#root > main > ul > a:nth-child(1)")).click();
String first = driver.getCurrentUrl().substring(beginIndex);
Expand Down

0 comments on commit da503b9

Please sign in to comment.