I am using C# and Appium to automate a Windows 10 software for my company. On the bookmarks bar, there is a list of tabs that I want to click through. They are buttons that are indexed from 15-20. Rather than doin
driver.FindElementsByXpath("//Pane/Button[15]").Click();
driver.FindElementsByXpath("//Pane/Button[16]").Click();
driver.FindElementsByXpath("//Pane/Button[17]").Click();
driver.FindElementsByXpath("//Pane/Button[18]").Click();
driver.FindElementsByXpath("//Pane/Button[19]").Click();
and so on, how can I write a for loop that will loop through and click onbutton[15]
to button[30]
? Is this even possible with Appium? Thanks!