

(Driver info: chromedriver=2.3,platform=Windows NT 6.1 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)Ĭommand duration or timeout: 22.33 secondsīuild info: version: '2.45.0', revision: '32a636c', time: ' 22:01:35' Starting ChromeDriver (v2.3) on port 18396Įxception in thread "main" : unknown error: unable to discover open pages Can you help me in running the test without fail. I am facing one problem here, as I run the above test i can see the below error. ("Google search test box Is Not enabled.") ("Google search text box Is Test search completed.") tProperty("", "D:\\chromedriver_win32\\chromedriver.exe") ĭriver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS) Write code as shown bellow in class file.ĭon't know how to find and evaluate XPath in chrome?

Don't forget to select 'public static void main(String args)' method during new java class creation. Now in eclipse, create new project with name = 'chromeproject' and create new class with name = 'chromebrowser'.
