getphone = driver.find_element_by_class_name('_3ko75')[-1]
phone = getphone.get_attribute("title")
Not working I need to get the title on string format.
Exception has occurred: TypeError
'WebElement' object is not subscriptable
File "C:\Users\vmaiha\Documents\Python Projects\Project 01\WP_Answer.py", line 43, in check
getphone = driver.find_element_by_class_name('_3ko75')[-1]