Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Temp {
- @Test()
- public void test1() {
- System.setProperty("webdriver.chrome.driver", "src/test/resources/chromedriver");
- ChromeOptions options = new ChromeOptions();
- options.addArguments("--test-type");
- options.addArguments("ignore-certificate-errors");
- WebDriver driver = new ChromeDriver(options);
- driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
- driver.manage().window().maximize();
- driver.get("https://www.google.co.in/");
- driver.quit();
- }
- }
- [RemoteTestNG] detected TestNG version 6.14.2 Starting ChromeDriver (v2.9.248307) on port 34979
- [warn] kq_init: detected broken kqueue; not using.: Undefined error: 0 Mar 12, 2018 7:06:13 AM
- org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: OSS FAILED: test1
- org.openqa.selenium.WebDriverException: java.net.ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:34979
- Build info: version: '3.10.0', revision: '176b4a9', time: '2018-03-02T19:03:16.397Z'
- System info: host: 'sandeep-MacBook-Pro.local', ip: '192.168.0.100', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.13.3', java.version: '1.8.0_101'
Add Comment
Please, Sign In to add comment