We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 990b1ff commit 453c1acCopy full SHA for 453c1ac
scrapy_playwright/handler.py
@@ -113,8 +113,8 @@ async def _launch(self) -> None:
113
"""Launch Playwright manager and configured startup context(s)."""
114
logger.info("Starting download handler")
115
self.playwright_context_manager = PlaywrightContextManager()
116
- self.playwright = await self.playwright_context_manager.start()
117
- self.browser_type: BrowserType = getattr(self.playwright, self.browser_type_name)
+ playwright_instance = await self.playwright_context_manager.start()
+ self.browser_type: BrowserType = getattr(playwright_instance, self.browser_type_name)
118
if self.context_kwargs:
119
logger.info("Launching %i startup context(s)", len(self.context_kwargs))
120
await asyncio.gather(
0 commit comments