From 8d80b992030610dd238775d5d2636f20753be814 Mon Sep 17 00:00:00 2001 From: Raphael Pierzina Date: Tue, 17 Apr 2018 17:16:02 +0200 Subject: [PATCH] Return from wait in page_title --- pages/base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/base.py b/pages/base.py index 8933464..46417e8 100644 --- a/pages/base.py +++ b/pages/base.py @@ -28,8 +28,7 @@ class Base(Page): @property def page_title(self): - self.wait.until(lambda s: self.selenium.title) - return self.selenium.title + return self.wait.until(lambda s: self.selenium.title) @property def is_pending_approval_visible(self):