WebdriverIO locator strategies and how to use it
In this post, we will discuss the possible locator strategies that webdriverIO provides to identify browser elements. We can use below command to locate the browser element[s] browser.findElement(locator:String) or $(locator:String) browser.findElements(locator:String) or $$(locator:String) XPATH & CSSSelector patterns – webdriverIO supports all the xpath and CSS Selectors patterns. Along with Xpath / CSSSelector, webdriverIO has it’s…