I am trying to search for a custom attribute using the CSS selector in selenium using chromedriver however it's not finding it.
Any idea on what I am doing wrong?
I believe my syntax is correct.
driver.findElement(By.cssSelector("[data-selen-id='loginFrameset']"));
I also tried driver.findElement(By.cssSelector('[data-selen-id="loginFrameset"]'));