[最佳答案] First of all it look that your locator is not fine. Here you need to identify your locator. I have write some xpath .. you can try them one by one... It can be as below:- //a[@class='k-link' and contains(.,'User Name')] OR //a[@class='k-grid-filter'] OR //span[class='k-icon k-filter'] OR //th[@class='k-header k-filterable k-with-icon' and data-title='User Name'] You can also try to click using JavascriptExecutor WebElement element= driver.findElement(By.xpath("Your Xpath")); Javascrip