anything wrong with this code? selenium.Click("//tbody/tr/td[@class='login2']/a[contains(@href,'#')]"); ...