Calling webdriver.quit() does not quit Safari

Calling webdriver.quit(), with Java client bindings v3.11.0, does not cause the Safari browser (v11.0.3) to quit. Same when I try using the Safari Technology Preview (release 51).


This results in multiple browsers to be opened when test suites are run.


Is this a known issue? If so, is the a bug tracking number?

Replies

I'm seeing the same thing.

Will likely hack around it via executing a script:

pgrep -f /Applications/Safari.app/Contents/MacOS/Safari | xargs kill -15


.close() is okay but leaving this process around.

Non issue with FireFox and Chrome