Skip to content

Commit

Permalink
added the ui_sesion_id attribute for video-session (#1038)
Browse files Browse the repository at this point in the history
(cherry picked from commit 9292676)
  • Loading branch information
omkarkhatavkar authored and web-flow committed Nov 24, 2023
1 parent b212f26 commit 83bb075
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions airgun/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ def __init__(
self._login = login
self.navigator = None
self.browser = None
self.ui_session_id = None

def __call__(self, user=None, password=None, session_cookie=None, url=None, login=None):
"""Stores provided values. This allows tests to provide additional
Expand Down Expand Up @@ -273,6 +274,7 @@ def _prepare_browser(self, url):
self.browser = AirgunBrowser(selenium_browser, self)
LOGGER.info(f'Session Id For {self.name}: {selenium_browser.session_id}')
LOGGER.info(f'Setting initial URL to {url}')
self.ui_session_id = selenium_browser.session_id

self.browser.url = url

Expand Down

0 comments on commit 83bb075

Please sign in to comment.