Hi Isophormic,
While trying Automation using Selenium, we are facing issues using webdriver, could you please help us to resolve it.
Sample Code :
SmartClientFirefoxDriver scff=new SmartClientFirefoxDriver();
scff.get("http:/localhost:8080/UDMUI/login/login.jsp");
While executing system appends "null" in URL(Attached screenshot for reference) and throws below exception and we are unable to find any topic around it.
Exception in thread "main" org.openqa.selenium.WebDriverException: Component returned failure code: 0x804b0012 (NS_ERROR_UNKNOWN_PROTOCOL) [nsIWebNavigation.loadURI]
Command duration or timeout: 5.26 seconds
Build info: version: '2.34.0', revision: '11cd0ef93615408e0b6b3bfa28defe125906461a', time: '2013-08-06 11:43:14'
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_131'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=22.0, platform=XP, browserConnectionEnabled=true, nativeEvents=true, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
Session ID: 250b8431-6ca8-4348-a950-4506671e19d3
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:191)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
at org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:276)
at com.isomorphic.webdriver.SmartClientWebDriver.get(SmartClientWebDriver.java:266)
at POC.main(POC.java:22)
Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Component returned failure code: 0x804b0012 (NS_ERROR_UNKNOWN_PROTOCOL) [nsIWebNavigation.loadURI]
Build info: version: '2.34.0', revision: '11cd0ef93615408e0b6b3bfa28defe125906461a', time: '2013-08-06 11:43:14'
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_131'
**************************
Environment Detail:
Development : licensed version of SmartGWT PRO 4.1
Selenium : smartgwtee-4.1p/lib-WebDriverSupport/isomorphic_webdriver.jar and selenium-server(2.34) provided along with Smart GWT
Firefox : Version 22 ( we tried multiple firefox version e.g 35,41,58 etc) but facing same issue
While trying Automation using Selenium, we are facing issues using webdriver, could you please help us to resolve it.
Sample Code :
SmartClientFirefoxDriver scff=new SmartClientFirefoxDriver();
scff.get("http:/localhost:8080/UDMUI/login/login.jsp");
While executing system appends "null" in URL(Attached screenshot for reference) and throws below exception and we are unable to find any topic around it.
Exception in thread "main" org.openqa.selenium.WebDriverException: Component returned failure code: 0x804b0012 (NS_ERROR_UNKNOWN_PROTOCOL) [nsIWebNavigation.loadURI]
Command duration or timeout: 5.26 seconds
Build info: version: '2.34.0', revision: '11cd0ef93615408e0b6b3bfa28defe125906461a', time: '2013-08-06 11:43:14'
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_131'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=22.0, platform=XP, browserConnectionEnabled=true, nativeEvents=true, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
Session ID: 250b8431-6ca8-4348-a950-4506671e19d3
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:191)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
at org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:276)
at com.isomorphic.webdriver.SmartClientWebDriver.get(SmartClientWebDriver.java:266)
at POC.main(POC.java:22)
Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Component returned failure code: 0x804b0012 (NS_ERROR_UNKNOWN_PROTOCOL) [nsIWebNavigation.loadURI]
Build info: version: '2.34.0', revision: '11cd0ef93615408e0b6b3bfa28defe125906461a', time: '2013-08-06 11:43:14'
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_131'
**************************
Environment Detail:
Development : licensed version of SmartGWT PRO 4.1
Selenium : smartgwtee-4.1p/lib-WebDriverSupport/isomorphic_webdriver.jar and selenium-server(2.34) provided along with Smart GWT
Firefox : Version 22 ( we tried multiple firefox version e.g 35,41,58 etc) but facing same issue
Comment