i'm trying make auto test by selenium but I'm getting unwanted results i must get text in the target website. i want the "4 인용 여성 기숙사 형 객실 내 침대 (2 층 4 인 도미)" but,
and my code is.
$aa = $driver->findElement(WebDriverBy::xpath('//*
[@id="root"]/div/div[2]/div/div/div[1]/div[2]/div/div/div/h1'))->getAttribute('innerText');
Log::alert($aa);
check with the mb_detect_encoding () function, the result is utf-8 so, iconv ('UTF-8', 'UTF-8, $ aa'), the same thing happens.
how i get the data i want?
please tell me about what's wrong