aerokube / ggr

A lightweight load balancer used to create big Selenium clusters
https://aerokube.com/ggr/latest/
Apache License 2.0
314 stars 74 forks source link

How to get GGR Session ID #334

Closed MoSedky closed 4 years ago

MoSedky commented 4 years ago

I just started using GGR with Selenoid on different Hosts. While the test case is running I need to get Session ID for GGR; I tried driver.session_ID but it's not matching with Test-session-ID. Is there a way to get it for like download Videos and Logs?

vania-pooh commented 4 years ago

@MoSedky simply use the value you are getting from Ggr with /video/ and /logs/ against Ggr host and port. Ggr session ID is 32 symbols longer that real session ID, removing first 32 symbols from Ggr session ID will get real session ID.

MoSedky commented 4 years ago

Thanks, @vania-pooh , you are the best!