beacuse I have one event under that same event i have button , I need to click on that button.
Actual xpaths are : //*[@id='mainCol']/div/div[3]/[b:2n3qhu8t]div[12[/b:2n3qhu8t]]/div[1]/div[1] of my market button is present below this market. //*[@id='mainCol']/div/div[3]/[b:2n3qhu8t]div[12][/b:2n3qhu8t]/div[2]/div/button[1] // this is xpath of same market's button
So I want to make xpath customisable so that i can read the input from xls Like, market , button here div[12] is the market this div is present in button's xpath too because each market has its own buttons
Kindly suggest
like in below code import java.util.List; import java.util.concurrent.TimeUnit;