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 97f8129 commit 2fd0b81Copy full SHA for 2fd0b81
rb/spec/integration/selenium/webdriver/manager_spec.rb
@@ -257,6 +257,11 @@ module WebDriver
257
expect { driver.manage.delete_cookie('') }
258
.to raise_error(ArgumentError, /Cookie name cannot be null or empty/)
259
end
260
+
261
+ it 'throws an error when cookie name is an empty string' do
262
+ expect { driver.manage.delete_cookie(nil) }
263
+ .to raise_error(ArgumentError, /Cookie name cannot be null or empty/)
264
+ end
265
266
end # Options
267
end # WebDriver
0 commit comments