diff --git a/PageObjectLibrary/pageobject.py b/PageObjectLibrary/pageobject.py index 4ca44af..b6df59d 100644 --- a/PageObjectLibrary/pageobject.py +++ b/PageObjectLibrary/pageobject.py @@ -72,7 +72,7 @@ def selib(self): @property def browser(self): - return self.selib._current_browser() + return self.selib.driver def __str__(self): return self.__class__.__name__