Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static bool BotDetectionCheck()
- {
- try
- {
- IWebElement botcheckDiv = webDriver.FindElement(By.Id("bot_check"));
- Console.WriteLine("Hey I found bot detection! heheboi");
- return true;
- }
- catch (NoSuchElementException)
- {
- return false;
- }
- }
Add Comment
Please, Sign In to add comment