From 08f3e6efad48b426bdc1dfc6619622e33753b120 Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Thu, 8 Jan 2026 01:01:00 +0200 Subject: [PATCH] fix: add missing line --- scrapling/engines/_browsers/_stealth.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scrapling/engines/_browsers/_stealth.py b/scrapling/engines/_browsers/_stealth.py index 1cce675..e191059 100644 --- a/scrapling/engines/_browsers/_stealth.py +++ b/scrapling/engines/_browsers/_stealth.py @@ -96,6 +96,8 @@ class StealthySession(SyncSession, StealthySessionMixin): if self._config.cookies: # pragma: no cover self.context.add_cookies(self._config.cookies) + + self._is_alive = True else: raise RuntimeError("Session has been already started") @@ -308,6 +310,8 @@ class AsyncStealthySession(AsyncSession, StealthySessionMixin): if self._config.cookies: await self.context.add_cookies(self._config.cookies) # pyright: ignore + + self._is_alive = True else: raise RuntimeError("Session has been already started")