Question

Locked

ChromeDriver for Nw.JS Application

By Pvbranga ·
Tags: Software
Hello All,
Iam using chrome driver to drive my NW.js application
Iam trying to Automate my application which is a standalone The Application build using NW.JS technologies. and based on chromium embedded framework
NW.JS is a desktop application with web technologies implementation.The Application to be tested is actually embedded inside the Web Took Kit and looks like a normal window application.
It does not make use any of the traditional browsers(IE/Firefox/Chrome/Safari etc.) I automated the basic login functionality of my application
using selenium web driver with java program and when i run it, it invokes my application but unable to identify the objects in the App.
Iam using the chrome driver,which makes use of chrome options,i have see in the selenium documentation, that selenium now supports web view tags
under this link:https://sites.google.com/a/chromium.org/chromedriver/downloads, it is given that Access to <web view> tags is now possible through ChromeOptions.windowTypes, but i don't see the windowTypes method for chrome options class,is the web view tag only supported for Mobile applications and not for NW.js destkop based applications with Web technologies implementation?

After running my java program , i see the below errors displayed:
log4j:WARN File option not set for appender [file].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
Starting ChromeDriver (v2.2) on port 48743
Exception in thread "main" org.openqa.selenium.WebDriverException: chrome not reachable
(Driver info: chromedriver=2.2,platform=Windows NT 6.1 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 20.97 seconds
Build info: version: '2.49.0', revision: '365eeb44deba2067b1761c8862ef21d55250e063', time: '2016-01-13 11:57:39'
System info: host: 'NT421', ip: '192.168.22.194', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_79'
Driver info: org.openqa.selenium.chrome.ChromeDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Software Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums