) }.not_to raise_exception           end            it 'accepts Capabilities.ie' do             capabilities = Remote::Capabilities.ie(invalid: 'foobar')             expect_request(body: {capabilities: {firstMatch: [browserName: "internet explorer",                                                               platformName: 'windows',                                                               invalid: 'foobar']}})              expect { Driver.new(capabilities: capabilities) }.not_to raise_exception           end            it 'accepts constructed Capabilities with Snake Case as Symbols' do             capabilities = Remote::Capabilities.new(browser_name: 'internet explorer', invalid: 'foobar')             expect_request(body: {capabilities: {firstMatch: [browserName: "internet explorer", invalid: 'foobar']}})              expect { Driver.new(capabilities: capabilities) }.not_to raise_exception           end            it 'accepts constructed Capabilities with Camel Case as Symbols' do             capabilities = Remote::Capabilities.new(browserName: 'internet explorer', invalid: 'foobar')             expect_request(body: {capabilities: {firstMatch: [browserName: "internet explorer", invalid: 'foobar']}})              expect { Driver.new(capabilities: capabilities) }.not_to raise_exception           end            it 'accepts constructed Capabilities with Camel Case as Strings' do             capabilities = Remote::Capabilities.new('browserName' => 'internet explorer', 'invalid' => 'foobar')             expect_request(body: {capabilities: {firstMatch: [browserName: "internet explorer", invalid: 'foobar']}})              expect { Driver.new(capabilities: capabilities) }.not_to raise_exception           end            it 'accepts Hash with Camel Case keys as Symbols but is deprecated' do             capabilities = {browserName: 'internet explorer', invalid: 'foobar'}             expect_request(body: {capabilities: {firstMatch: [browserName: "internet explorer", invalid: 'foobar']}})              expect {               expect { Driver.new(capabilities: capabilities) }.to have_deprecated(:capabilities_hash)             }.not_to raise_exception           end            it 'accepts Hash with Camel Case keys as Strings but is deprecated' do             capabilities = {"browserName" => 'internet explorer', "invalid" => 'foobar'}             expect_request(body: {capabilities: {firstMatch: [browserName: "internet explorer", invalid: 'foobar']}})              expect {               expect { Driver.new(capabilities: capabilities) }.to have_deprecated(:capabilities_hash)             }.not_to raise_exception           end            