Suppose I have the following HTML code
<tag1>
"hello"
<tag2></tag2>
"world"
</tag1>
Then driver.find_element(By.CSS_SELECTOR,"tag1").text outputs the string "helloworld". How can I get the strings "hello" and "world" separately or at least get a string "hello world" seperated by whitespace?