Need to use same method in BasePage and BaseTest | Selenium Forum
M
Posted on 30/12/2016
There are some methods which we may need to use in pages and as well as in Scripts, like verifyText() etc.

How to do this, copying the same methods in both the classes will leads to redundancy.

M
Replied on 01/01/2017

make that function in a class and extend that class everywhere.