Closed Bug 1290814 Opened 8 years ago Closed 7 years ago

Quit with Multiple Sessions

Categories

(Remote Protocol :: Marionette, defect)

50 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: titus.fortner, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36

Steps to reproduce:

Using: selenium-webdriver-3.0.0.beta1.gem
d1 = Selenium::WebDriver.for :firefox
d2 = Selenium::WebDriver.for :firefox
d2.quit


Actual results:

This ends both sessions.


Expected results:

Only the second session should have ended
If the two sessions are actually using the same browser, which I think is what is happening here, this would explain why both windows are closed.
It does open a second browser (and there are two geckodriver executables present). If the second session is taking over the first browser, is there a bug filed for that somewhere?
Two instances of geckodriver does not necessarily mean there are two separate Firefox instances.  If the second instance of geckodriver connects to the existing Firefox instance, we need to first confirm that this is what happens.
Update: This is working for me now
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.