I need some help form all of you, so I have something like this:
element = driver.find_element_by_name("SiteMinderVarForm")
print (element)
When I execute the program I receive:
selenium.webdriver.remote.webelement.WebElement (session="d49d6df9305f2e92eb81aed5c0ed848b", element="0.6436298007036831-4")
And I need a string as result.
I'm trying to automatically login into a web site. If the process of login fails because of an incorrect password or username I need to show a pop up with an error message. So I'm trying to get the name of the form and check if is equal to the actual name. In case it is equal that means the process is successful, and if not the process fails.
If you have any better ideas to do that please let me know.