element = browser.find_element_by_xpath("//div[@class='span12']")
# send the copied text back
context.bot.send_message(chat_id=update.message.chat_id, text=element)
#come error
element = browser.find_element_by_xpath("//div[@class='span12']")
2021-10-15 05:34:51,229 - telegram.ext.dispatcher - ERROR - No error handlers are registered, logging exception
........................
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type WebElement is not JSON serializable