You need to invoke Click()
once the element is returned through WebDriverWait as follows:
IWebElement element = wait.Until(d => d.FindElement(locator));
new WebDriverWait(driver, TimeSpan.FromSeconds(10)).Until(ExpectedConditions.ElementToBeClickable(element)).Click();
More Related Contents:
- ExpectedConditions.ElementIsVisible returns TimeoutException even when element is present
- Best way to keep track and iterate through tabs and windows using WindowHandles using Selenium
- How to open a Chrome Profile through –user-data-dir argument of Selenium
- WebDriverWait is not waiting for the element I specify
- Unable to hide “Chrome is being controlled by automated software” infobar within Chrome v76
- OpenQA.Selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally while executing tests through Selenium start on linux
- How do I make Chrome Headless after I login manually
- How to execute Selenium Chrome WebDriver in silent mode?
- How to combine implicit and explicit timeouts in Selenium?
- c# selenium if else check [closed]
- Selenium C# WebDriver: Wait until element is present
- Selenium Error – The HTTP request to the remote WebDriver timed out after 60 seconds
- Internet Explorer Protective mode setting and Zoom levels
- Selenium stops when browser is manually interrupted
- How to locate and click on an element which is nested within multiple frame and frameset through Selenium using Webdriver and C#
- How to set Chrome preferences using Selenium Webdriver .NET binding?
- How to maximize the browser window in Selenium WebDriver (Selenium 2) using C#?
- How to start ChromeDriver in headless mode
- Selenium WebDriver C# Full Website Screenshots With ChromeDriver and FirefoxDriver
- How to get text from parent element and exclude text from children (C# Selenium)
- Random errors using wait for element clickable method in Selenium
- Popup’s in selenium webdrivers
- How to ignore ssl_client_socket_impl.cc(1061)] handshake failed in selenium c# ChromeDriver
- How does the registry entry HKEY_LOCAL_MACHINE\…\FEATURE_BFCACHE for InternetExplorerDriver solves the Internet Explorer 11 issue?
- Wait for an Ajax call to complete with Selenium 2 WebDriver
- Setting a proxy for Chrome Driver in Selenium
- Chrome driver for Selenium stuck in grey screen on bet365 site
- OpenQA.Selenium.WebDriverException: ‘unknown error: ChromeDriver only supports characters in the BMP while sending an emoji through C# Selenium
- Selenium Webdriver PhantomJS C# always opens a cmd window
- How to click on the radio button through the element ID attribute using Selenium and C#