How to write a locator and get both the text present in a single tag in HTML code for selenium automation

后端 未结 0 1734
予麋鹿
予麋鹿 2021-01-29 11:46

This is my html code

==$0 \"How\" \"Are You\"

Writing locator like //h2/text()[1] for getting "How" text and writing //h2/text()[2] for getting "

相关标签:
回答
  • 消灭零回复
提交回复
热议问题