robotframework / OldSeleniumLibrary

Deprecated Selenium library for Robot Framework
Apache License 2.0
13 stars 3 forks source link

Enhancement: Add support for Selenium's cookie manipulation methods #13

Closed spooning closed 9 years ago

spooning commented 9 years ago

Originally submitted to Google Code by c.martin.taylor on 28 Nov 2008

I implemented this and have attached the modified init.py file. Feel free to incorporate it into the next revision of robotframework-seleniumlibrary. The only method I really needed for my testing was "delete_cookie", so that's the only one I've actually tested under robotframework-seleniumlibrary. Since the other methods in the _Cookies class are just direct wrappers for the corresponding Selenium methods, I expect they will work, too.

spooning commented 9 years ago

Originally submitted to Google Code by @yanne on 1 Dec 2008

These keywords will be in the next release of SeleniumLibrary, which will be released on friday, 5th December

spooning commented 9 years ago

Originally submitted to Google Code by @yanne on 4 Dec 2008

After looking through this more thoroughly, I decided to change the names of some of the keyword. Also, since I am loathe to add any keywords without tests, I didn't actually add them all. These are implemented in r109:

Get Cookies Get Cookie Value Delete Cookie Delete All Cookies

spooning commented 9 years ago

Originally submitted to Google Code by @yanne on 4 Dec 2008

Documentation for these keywords has been finalized in r110

A separate issue may be opened if the rest of the cookie functionality is needed.

spooning commented 9 years ago

Originally submitted to Google Code by @pekkaklarck on 5 Dec 2008

Could you list what cookie functionality was not implemented?