Python Selenium Text Check

Hi, Below code may help you to check source with input text:     def is_text_present(self, text):         if str(text) in self.driver.page_source:             print “Found this text %s” % text         else:             Exception()           … Devamını oku