0
There are some spaces between the text, you will need to use the function normalize-space
to find only the text "Product successfully Added to your Cart".
//h2[normalize-space(text()='Product successfully added to your cart')]
0
1
There are some spaces between the text, you will need to use the function normalize-space
to find only the text "Product successfully Added to your Cart".
//h2[normalize-space(text()='Product successfully added to your cart')]
Browser other questions tagged selenium selenium-webdriver automation xpath
You are not signed in. Login or sign up in order to post.
Someone could help me?
– Estevao FPM