diff --git a/airgun/views/common.py b/airgun/views/common.py index 4f787c5d2..0c8724262 100644 --- a/airgun/views/common.py +++ b/airgun/views/common.py @@ -442,7 +442,8 @@ def search(self, query): if not self.is_searchable(): return None self.searchbox.search(query) - self.title.click() + if hasattr(self, 'title'): + self.title.click() return self.table.read() @@ -485,7 +486,8 @@ def search(self, query): self.searchbox.search(query) self.browser.plugin.ensure_page_safe(timeout='60s') self.table.wait_displayed() - self.title.click() + if hasattr(self, 'title'): + self.title.click() return self.table.read()