New answers tagged

0

The problem with using Xpath is understandable, but it's not easy to help without the HTML code. I'd recommend using another locator strategy. Is it only the row you want to interact with the one with the value "test"? If yes, in that case, if you're working in a table, you could search for all the rows elements and then select the one with that ...


0

If you want to make use of scenario interface in every step definition , then set the scenario into a context and then get it. public class Context { //use lombok @Getter @Setter private Scenario scenario; } public class Hook { @Before public void setUp(Scenario scenario) { context.setScenrario(scenario) }


Top 50 recent answers are included