Skip to content

Commit 87ee815

Browse files
Nir.TalNir.Tal
authored andcommitted
feat: added console bidi events
1 parent f75fc3c commit 87ee815

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/conftest.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,8 @@ def pytest_exception_interact(node: Item) -> None:
347347
if browser != "remote":
348348
# https://github.com/lana-20/selenium-webdriver-bidi
349349
if console_messages:
350-
console_messages_text = "\n".join(
351-
str(message) for message in console_messages
352-
)
353350
allure.attach(
354-
body=console_messages_text,
351+
body="\n".join(str(message) for message in console_messages),
355352
name="Console Logs",
356353
attachment_type=allure.attachment_type.TEXT,
357354
)

0 commit comments

Comments
 (0)