[rb] ensure driver process is always stopped by titusfortner · Pull Request #15635 · SeleniumHQ/selenium

🎫 Ticket compliance analysis 🔶

1234 - Not compliant

Non-compliant requirements:

• Fix issue where Selenium 2.48 doesn't trigger JavaScript in link's href on click()
• Ensure JavaScript events are properly triggered in Firefox 42.0

5678 - PR Code Verified

Compliant requirements:

• Ensure proper cleanup of ChromeDriver processes between instantiations

Requires further human verification:

• Fix "ConnectFailure (Connection refused)" errors when instantiating ChromeDriver multiple times - need to verify if this PR completely resolves the issue