RE: Passing site authentication values

Clicking on signin link ,login page is loading (https://).Here i need to pass the site authentiication username & password.How to do that.Please give me a way to proceed i am new to selenium.

Revathi Train Asked on October 1, 2014 in Selenium WebDriver.

Could you post you code or sample site please.

on October 1, 2014.
Add Comment
2 Answers

Hi Revathi,

I think you are pointing to Proxy authentication, if yes please go through the following link:

http://www.toolsqa.com/selenium-webdriver/http-proxy-authentication/

Or you can try this

driver.get(“http://UserName:Password@YourWebsiteName.com”);

If not then please paste a screenshot for the issue.

Regards,
Lakshay Sharma

Professor Answered on October 2, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.