Interview Questions

SELENIUM REAL TIME INTERVIEW QUESTIONS - How to overcome same origin policy through web driver?

Selenium WebDriver Interview question and Answers


(Continued from previous question...)

SELENIUM REAL TIME INTERVIEW QUESTIONS - How to overcome same origin policy through web driver?

Proxy server.
DesiredCapabilities capability=new DesiredCapabilities.firefox();
capability.setCapability(CapabilityType.PROXY,"your desire proxy")
WebDriver driver=new FirefoxDriver(capability);

(Continued on next question...)

Other Interview Questions