Apr 8, 2016

Are your VisGrid Browser Selenium Sessions Closing Automatically? Here is how to fix it.

Most people that develop for selenium, and are familiar with setting up selenium grid servers are familiar with VisGrid. It is a gui, to help you manage the hub url, and what drivers you want to maintain. Right of of the box this software has default settings that will close your selenium session for inactivity. This could be bad depending on the script you are writing. Start it up like this and it should solve your problem

-sessionMaxIdleTimeInSeconds 240
This will allow the time limit to be unlimited and you should be able to use your selenium session for as long as you like.

Happy Hacking!

No comments:

Post a Comment

Please do not spam my comments, not only will I flag it as spam, but I may go a step further and spam your url to my anti-spam list of investigators. Thank you for your comment!