Forum Discussion
nmrao
Champion Level 3
Obsolutely, fine. For SoapUI Open Source, you may report the issues here.
jimsefton
10 years agoOccasional Visitor
Hi,
Any update on this. I am getting the same error... tried using the following workaround but it's not working:
import org.openqa.selenium.WebDriver import org.openqa.selenium.firefox.FirefoxDriver ProxySelector proxy = ProxySelector.getDefault(); ProxySelector.setDefault(proxy); WebDriver driver = new FirefoxDriver(); driver.get("http://localhost ") log.info("Pagee is: " + driver.getTitle()) driver.quit()
Any suggestions of a fix or workaround would be appreciated. Thanks
- wind198620069 years agoNew Contributor
ProxySelector proxy = ProxySelector.getDefault(); ProxySelector.setDefault(proxy);
This will do nothing. You need to get
ProxySelector proxy = ProxySelector.getDefault();
before you run SOAPUI to save proxy and then
ProxySelector.setDefault(proxy);
to reset it and make sure proxy won't be null when you initiate selenium webdriver.
- annamalairobins6 years agoNew Member
This workaround helped me resolve the issue, I have been wondering what could be the issue for last 1.5 years.
Thank you!
Related Content
Recent Discussions
- 11 days ago