Im using SauceLabs and I need the sessionId to get the Job Id there and use it to set pass/fail status during execution of the test. How can I get the session Id using python?
This worked for me:
BuiltIn().get_library_instance('SeleniumLibrary').driver.session_id
How to get session id on Selenium webdriver using Python?