You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var feedback = driver.FindElement(By.Id("Feedback"));
feedback.SendKeys("Test feedback for [email protected]");
var submit = driver.FindElement(By.CssSelector("input[type=submit]"));
submit.Click();
}
The text was updated successfully, but these errors were encountered:
Does your Web Driver run JavaScript on the page? PoliteCaptcha is designed to only show a CAPTCHA if the browser is not running JavaScript. Most spam bots do not run JavaScript, so if you use a JavaScript-enabled user-agent, this is by-design.
If a SPAMer wanted to SPAM your site then using Selenium or similar would easily get around this solution. I cant see how this can be considered a real solution. Granted it stops many bots but if your a site of interest its not much work to spin up Selenium or similar.
This simple thing always passes
using (IWebDriver driver = TestHelper.CreateDriver())
{
//var url = @"http://politecaptcha.apphb.com/Home/WithBypass";
//var url = @"http://politecaptcha.apphb.com/Home/WithFallback";
var url = @"http://politecaptcha.apphb.com/Home/WithoutFallback";
driver.Navigate().GoToUrl(url);
var email = driver.FindElement(By.Id("EmailAddress"));
email.SendKeys("[email protected]");
The text was updated successfully, but these errors were encountered: