I am trying to open the Url using below method .But it takes long time to load the Url however it is test environment Url.
@BeforeClass
public void setup() {
System.setProperty("webdriver.chrome.driver","C:\\chromedriver_win32\\chromedriver.exe");
driver = new ChromeDriver();
driver.get("XXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
driver.manage().window().maximize();
driver.manage().timeouts().implicitlyWait(5,TimeUnit.SECONDS);
}
To load the Url using driver.get("XXXXXX")
method takes around 4 minutes which throws Exception below
Starting ChromeDriver 73.0.3683.68 (47787ec04b6e38e22703e856e101e840b65afe72) on port 6967 Only local connections are allowed. Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code. Apr 20, 2019 3:59:52 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: OSS [1555756492.787][SEVERE]: Timed out receiving message from renderer: 298.674 [1555756492.795][SEVERE]: Timed out receiving message from renderer: -0.008 FAILED CONFIGURATION: @BeforeClass setup org.openqa.selenium.TimeoutException: timeout (Session info: chrome=73.0.3683.103) (Driver info: chromedriver=73.0.3683.68 (47787ec04b6e38e22703e856e101e840b65afe72),platform=Windows NT 6.1.7601 SP1 x86) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 300.02 seconds Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'ADMIN-PC', ip: '192.168.1.6', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_121' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{mobileEmulationEnabled=false, timeouts={implicit=0.0, pageLoad=300000.0, script=30000.0}, hasTouchScreen=false, platform=XP, acceptSslCerts=false, goog:chromeOptions={debuggerAddress=localhost:51331}, acceptInsecureCerts=false, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, setWindowRect=true, unexpectedAlertBehaviour=ignore, applicationCacheEnabled=false, rotatable=false, networkConnectionEnabled=false, chrome={chromedriverVersion=73.0.3683.68 (47787ec04b6e38e22703e856e101e840b65afe72), userDataDir=C:\Users\admin\AppData\Local\Temp\scoped_dir2592_17813}, takesHeapSnapshot=true, pageLoadStrategy=normal, strictFileInteractability=false, databaseEnabled=false, handlesAlerts=true, version=73.0.3683.103, browserConnectionEnabled=false, proxy=Proxy(), nativeEvents=true, locationContextEnabled=true, cssSelectorsEnabled=true}] Session ID: f2e4b8e52414566b01dff2c0ba9f7ce4