I made a program which takes information from excel and sends messages via python. I used selenium and \"span\" for finding the element I need.
now, WhatsApp cha
Check whatever tag surrounds the data you're trying to scrap after the span tag was removed, and adjust the code accordingly.
There is no general replacement for span. Can you provide the markup you're trying to scrap (at least the part where the span tag was)