Guys I need to know how to find a text with Selenium, this one for example:
Test I can get the text with the following code:
wait.until(EC.element_to_be_clickable((By.XPATH, '//*[text()="Test"]'))).text But I need to get a text in the following format:
"Key" "[email protected]" I need to be able to get the above text, remembering the email and password may be different depending on the case, so I would like to get the full value of the string from the .com of the string, since the email will always have a .com, so in this case , I need to be able to find the .com and after finding me return the full value of the string.
""is a text node, not HTML DOM node. also.text()could represent the node, but one can not parse that with Selenium.com.text()method