I am really desperate his last days to convert my string numbers value to a integer, so i try this :
Snapshot:

Code trials:
follower_count = int(browser.find_element_by_xpath('/html/body/div[1]/section/main/div/header/section/ul/li[2]/a/span').text)
convert_follower_count = re.sub('[^0-9]','', follower_count)
... is not working :
Traceback (most recent call last):
File "C:\Users\Desktop\TwitPy\quickstart.py", line 79, in <module>
followers_count = re.sub('[^0-9]','', follower_count)
File "C:\Users\AppData\Local\Programs\Python\Python38\lib\re.py", line 208, in sub
return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or bytes-like object
follower_countis an int. You can't replace characters in it, because it doesn't contain characters. It's a number.