Hot answers tagged

1

one choice by CLASS: driver.findElement(By.className("element class")) another choice: by css selector (you need to work on css selector) driver.findElement(By.cssSelector("css selector")) driver.findElement(By.cssSelector("ng-class["{\'selectedViewMenu\':SearchObj.param.View=='Videos'}]")



Only top voted, non community-wiki answers of a minimum length are eligible