I have found that get_text() is not working and just returns blank string and I have to do get_attribute('innerText') instead to get the text. I have version 1.42 installed.
$lang_text = $selen->find_child_element($lang_elem, './/span[@class="odsTitle"]')->get_attribute('innerText'); # this works
$lang_text2 = $selen->find_child_element($lang_elem, './/span[@class="odsTitle"]')->get_text; # this doesn't
I have found that
get_text()is not working and just returns blank string and I have to doget_attribute('innerText')instead to get the text. I have version 1.42 installed.