Skip to content

Commit

Permalink
removing local storage key should use DELETE not POST
Browse files Browse the repository at this point in the history
Fixes Issue SeleniumHQ#6531
  • Loading branch information
lukeis committed Nov 5, 2013
1 parent 8e6ab46 commit 3f94360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/selenium/webdriver/remote/remote_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def __init__(self, remote_server_addr):
Command.GET_LOCAL_STORAGE_ITEM:
('GET', '/session/$sessionId/local_storage/key/$key'),
Command.REMOVE_LOCAL_STORAGE_ITEM:
('POST', '/session/$sessionId/local_storage/key/$key'),
('DELETE', '/session/$sessionId/local_storage/key/$key'),
Command.GET_LOCAL_STORAGE_KEYS:
('GET', '/session/$sessionId/local_storage'),
Command.SET_LOCAL_STORAGE_ITEM:
Expand Down

0 comments on commit 3f94360

Please sign in to comment.