Replies: 4 comments
-
Hi @dornech - we do have a way to get that and various other information about the session via a Dictionary object: 'prints the session id string - returns "no open browser session exists" if not yet assigned
Debug.Print driver.GetSessionsInfo()("id") Will that be sufficient for your use case? |
Beta Was this translation helpful? Give feedback.
-
Had a look into it - in principle yes - but only Chrome if I am right this time ? |
Beta Was this translation helpful? Give feedback.
-
Chrome, Edge, and IE. Not Firefox. |
Beta Was this translation helpful? Give feedback.
-
I need to check this browser type-independent but I think I found the solution
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
For some purpose it would be helpful to be able to differentiate if the driver has an open session assigned or not.
This is implicitly stored in Webdriver.session_ but sessioID_ it is not available outside the webdriver object.
Simple function checking session_id <> vbnullstring would fix this.
Beta Was this translation helpful? Give feedback.
All reactions