I'm trying to store the verification code into verfcode variable. How can I do that?
Asked
Active
Viewed 612 times
1 Answers
0
I see you are trying to store a text from the table cell - you could just use
storeTable(tableCellAddress, variableName)
Anyway, you can always use storeText, but it all depends on from where the text is supposed to be stored.
If you would like to know about why getText gets empty string, you should probably read this answer - getText() method of selenium chrome driver sometimes returns an empty string

Vlad D.
- 1
- 1