Skip to content

Commit

Permalink
Shutdown the browser on quit
Browse files Browse the repository at this point in the history
  • Loading branch information
sloanesturz committed Feb 24, 2024
1 parent 40c34ab commit 96ff007
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ferrum/browser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ def restart
def quit
return unless @client


command('Browser.close')
contexts.close_connections

@client.close
Expand Down

0 comments on commit 96ff007

Please sign in to comment.