We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f9466e commit 5b5e47bCopy full SHA for 5b5e47b
1 file changed
lib/appium_lib_core/common/base/driver.rb
@@ -81,7 +81,7 @@ def create_bridge(**opts)
81
82
raise ::Appium::Core::Error::ArgumentError, "Unable to create a driver with parameters: #{opts}" unless opts.empty?
83
84
- @has_bidi = !!(capabilities && capabilities['webSocketUrl'])
+ @has_bidi = capabilities && capabilities['webSocketUrl'] ? true : false
85
bridge_clzz = @has_bidi ? ::Appium::Core::Base::BiDiBridge : ::Appium::Core::Base::Bridge
86
bridge = bridge_clzz.new(**bridge_opts)
87
0 commit comments