Hello I am new in using selenium webdriver and I am trying to create a test script using selenium webdriver in python and I am trying to check if a certain text field is not existing in the page.
Here is the code that I have created to check if the text field is blank or empty:
self.assertEqual("", driver.find_element_by_xpath("//div[5]/div"))
Using this test script gives me an error. Please help me with the correct syntax or method that I should use. Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire