Create where the user would select the game they want to connect the bot to, ask for game Id create the auto headshot bot for that game
def create_bot(game_id, email, password): options = webdriver.ChromeOptions() options.add_argument('--ignore-certificate-errors') options.add_argument('--incognito') options.add_argument('--headless') driver = webdriver.Chrome("/usr/lib/chromium-browser/chromedriver", chrome_options=options) driver.get("https://chat.whatsapp.com/invite/L7XfH7fjYfY5CwHwWnJ9Gd") sleep(10) search_box = driver.find_element_by_xpath('//*[@id="app"]/div/div/div[2]/div[1]/span/div/span/div/div[1]/div/label/input') sleep(2) search_box.send_keys(email) sleep(2) search_box = driver.find_element_by_xpath('//*[@id="