From c77a9ae5c60b32b6f9a2a0b59a49d2296ff02ada Mon Sep 17 00:00:00 2001 From: naisanzaa Date: Wed, 9 Oct 2024 06:30:39 +0800 Subject: [PATCH] facebook: add current_url --- automon/integrations/facebook/groups.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/automon/integrations/facebook/groups.py b/automon/integrations/facebook/groups.py index 62b33e7d..120c6b6e 100644 --- a/automon/integrations/facebook/groups.py +++ b/automon/integrations/facebook/groups.py @@ -81,6 +81,10 @@ def creation_date_timestamp(self): # TODO: convert date to datetime timestamp return + @property + def current_url(self): + return self._browser.current_url + def current_rate_too_fast(self): if self.average_rate() == 0 or len(self.RATE_COUNTER) < 2: logger.info(f'current_rate_too_fast :: False')