Using two link in one @BeforeMethod to another class in java selenium

  Kiến thức lập trình

I have a two link on one website, one ends with /login & another with /links.
How can i use them in one @BeforeMethod to another java class in POM ???
Is it possible to use them in one method or not ?

I didn’t try anything.

New contributor

Marko Mihajlovski is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT