How good is selenium’s support for https and also for automatically reading, writing, and discarding of cookies- using a java implementation.
How good is selenium’s support for https and also for automatically reading, writing, and
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Its good actually, I did not face any problems while using https sites using selenium. You might face few issues if working on different domain (ex. http://example.com to https://example1.com), but other than that its pretty good.
There are lot of methods available to work with cookies. for ex:
Create a new cookie whose path and domain are same with those of current page under test, unless you specified a path for this cookie explicitly.
Calls deleteCookie with recurse=true on all cookies visible to the current page.
Delete a named cookie with specified path and domain.
Return all cookies of the current page under test.
Returns the value of the cookie with the specified name, or throws an error if the cookie is not present.
Returns true if a cookie with the specified name is present, or false otherwise.