Returns the title of the current web page.
(self)
| 1421 | return self.find_element(selector).text_all |
| 1422 | |
| 1423 | def get_title(self): |
| 1424 | """Returns the title of the current web page.""" |
| 1425 | return self.loop.run_until_complete( |
| 1426 | self.page.evaluate("document.title") |
| 1427 | ) |
| 1428 | |
| 1429 | def get_page_title(self): |
| 1430 | """Same as get_title(), which returns the current page title.""" |