fix: added raw_response to separate collected response from rendered response

This commit is contained in:
Karim shoair
2025-11-08 20:09:40 +02:00
parent e20882af5d
commit df073c4680
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -268,7 +268,7 @@ class DynamicSession(DynamicSessionMixin, SyncSession):
# Create response object
response = ResponseFactory.from_playwright_response(
page_info.page, first_response, final_response[0], params.selector_config, bool(params.page_action)
page_info.page, first_response, final_response[0], params.selector_config
)
# Close the page to free up resources
@@ -492,7 +492,7 @@ class AsyncDynamicSession(DynamicSessionMixin, AsyncSession):
# Create response object
response = await ResponseFactory.from_async_playwright_response(
page_info.page, first_response, final_response[0], params.selector_config, bool(params.page_action)
page_info.page, first_response, final_response[0], params.selector_config
)
# Close the page to free up resources