bugfix: suppress deprecation warning when no extensions were added to profile
@@ -78,7 +78,7 @@ module Selenium
extensions.concat(@encoded_extensions)
opts = {directory: @directory || layout_on_disk}
- opts[:extensions] = extensions if extensions
+ opts[:extensions] = extensions if extensions.any?
opts
end
