Skip to content

Commit 25d3de8

Browse files
committed
Selenium SDK changes for logging correct package name
1 parent 54ed3e5 commit 25d3de8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

selenium/lambdatest_selenium_driver/smartui.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import json
22
from lambdatest_sdk_utils import is_smartui_enabled,fetch_dom_serializer,post_snapshot
3-
from lambdatest_sdk_utils import get_pkg_name,setup_logger,get_logger
3+
from lambdatest_sdk_utils import setup_logger,get_logger
44

55

66
def smartui_snapshot(driver, name,options={}):
@@ -29,7 +29,7 @@ def smartui_snapshot(driver, name,options={}):
2929

3030
# Post the dom to smartui endpoint
3131
dom['name'] = name
32-
res = post_snapshot(dom,get_pkg_name(),options=options)
32+
res = post_snapshot(dom,'lambdatest-selenium-driver',options=options)
3333

3434
if res and res.get('data') and res['data'].get('warnings') and len(res['data']['warnings']) != 0:
3535
for warning in res['data']['warnings']:

0 commit comments

Comments
 (0)