how to find combined xpath for given text as ?


how to find combined xpath for given text as < PMP & 8999 POINTS >?



I want to find the combined xpath for the text <PMP & 8999 points> as follows:


<PMP & 8999 points>










PMP

(Duration: 29 hrs | Difficulty: Intermediate | Language: english | Mode Of Training: online)
 8999 Points

</div>
</div>




1 Answer
1



You can try with following x-path,


//div[@class='lng-info']/*[name()='h5' or name()='div']





no,its pointing only to text= PMP
– hack
Jun 29 at 8:44





click on next button.
– Murthi
Jun 29 at 8:45





Thanku now its working
– hack
Jun 29 at 8:48





please accept my answer
– Murthi
Jun 29 at 8:49






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

Opening a url is failing in Swift

Export result set on Dbeaver to CSV