Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SOLVED: Multiple Conditions while finding a web element in selenium web driver

Tags: filter

Akhil:

I'm trying to click on a Filter grid when met with 2 conditions, Here is the Code that am using. This doesn't work when I do not use Data title. It is clicking the first column of the filter grid:


driver.findElement(By.cssSelector("//th[@class='k-header k-filterable k-with-icon' and data-title='Status']")).click();

Please Help.



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered
HERE


This post first appeared on Stack Solved, please read the originial post: here

Share the post

SOLVED: Multiple Conditions while finding a web element in selenium web driver

×

Subscribe to Stack Solved

Get updates delivered right to your inbox!

Thank you for your subscription

×