Пример #1
0
 def visible_text(self):
     return normalize_whitespace(self.native.text)
Пример #2
0
 def visible_text(self):
     return normalize_whitespace(self.unnormalized_text())
Пример #3
0
 def all_text(self):
     text = self.driver.browser.execute_script(
         "return arguments[0].textContent", self.native)
     return normalize_whitespace(text)
Пример #4
0
 def all_text(self):
     return normalize_whitespace(inner_text(self.native))