I am trying to guard against bot registration on my website by using Google ReCaptcha 3, I want to set a score threshold limit based on data collected over a period of time. However, the score is always coming back as 0.9.
I have set up a python script using selenium to constantly register to my site. I hoped that this would decrease the score over time however it is constantly staying at 0.9?
How can I reduce the score? Surely a script that is signing up 25 times a minute is enough to lower the ReCaptcha score?
I thought the whole idea of googles ReCaptcha v3 was to guard against bots in a discrete way?
def main():
browser = webdriver.Chrome(ROUTE TO CHROME DRIVER)
chrome_options = webdriver.ChromeOptions()
chrome_options.add_experimental_option("prefs", {
"profile.default_content_setting_values.notifications": 2
})
chrome_options.add_argument("--incognito")
browser.get(MY SITE)
count = 50
while count < 100:
browser.find_element_by_xpath('//*[@id="headerSignIn"]').click()
browser.find_element_by_xpath('/html/body/div[2]/div/div[3]/div[1]/div[2]/p/a').click()
browser.find_element_by_xpath('//*[@id="form_firstname"]').send_keys('Mr Robot')
browser.find_element_by_xpath('//*[@id="form_email"]').send_keys('MrRobot' + str(count) + '@robot.com')
browser.find_element_by_xpath('//*[@id="form_password"]').send_keys('[email protected]')
time.sleep(2)
browser.find_element_by_xpath('//*[@id="form_submit"]').click()
browser.find_element_by_xpath('/html/body/div[1]/div/header/div[1]/ul/li[2]/a').click()
count += 1