Skip to content

Added -browserSessionReuse option#4

Merged
olamy merged 2 commits intojenkinsci:masterfrom
mgmoratalla:master
Jun 23, 2011
Merged

Added -browserSessionReuse option#4
olamy merged 2 commits intojenkinsci:masterfrom
mgmoratalla:master

Conversation

@mgmoratalla
Copy link
Contributor

Added the checkbox to include -browserSessionReuse option in order to stop re-initialization and spawning of the browser between tests

olamy added a commit that referenced this pull request Jun 23, 2011
Added -browserSessionReuse option
@olamy olamy merged commit 523849f into jenkinsci:master Jun 23, 2011
@clintonshane84
Copy link

Hi, I see this fix and it is probably the solution I am looking for. I am using this plugin but I dont know where to find this checkbox you mention for the ReuseBrowserSession. Also can you tell me what is the right method of connecting to the Jenkins Selenium Grid hub. I run my selenium server standalone jar file with the following parameters (this works, its just multiple tests in one script fails because they dont reuse the session):
java -jar selenium-server-standalone-2.31.jar -role node -hub http://jenkins.manline.co.za -browserSessionReuse -browser"browserName=firefox,version=19,maxInstances=5" and this shows as connected on port 5555 in the Jenkins Selenium Grid and I can run tests perfectly except for the browser reuse session. When I run multiple tests in a single script, after test 1 is complete and test 2 starts, it throws a blank window and gives this error message:
2) T24ChecklistTests::testIncomeReport
Did not get a session id from http://jenkins.manline.co.za:4444/wd/hub

I guess what I really want to know here is what I orginally asked, where is this checkbox you mention. Please and advice is appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants