Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it same issue for WebDriver spec needs to include the /shutdown endpoint #1026' #1124

Closed
Aparn12 opened this issue Oct 10, 2017 · 3 comments

Comments

@Aparn12
Copy link

Aparn12 commented Oct 10, 2017

I am using FF 64.0 and selenium 3.6 .

I got below error at the time of running below code

Code

import java.util.concurrent.TimeUnit;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.Select;

public class Login {

public static void main(String []args)
{

System.setProperty("webdriver.gecko.driver", "C:/Java/geckodriver-v0.16.0-win64/geckodriver.exe");
WebDriver driverobj=new FirefoxDriver();
driverobj.get("https://illnqw1409.corp.amdocs.com:28501/idp-simulator/public/index.html ");


driverobj.manage().timeouts().implicitlyWait(120, TimeUnit.SECONDS);

//new Select(driverobj.findElement(By.xpath("//select[@id='userName']"))).selectByIndex(2);

Select dropdown = new Select(driverobj.findElement(By.id("userName")));
dropdown.selectByVisibleText("Asmsa1");

}
}

Error

1507628781928 geckodriver INFO Listening on 127.0.0.1:11687
1507628782577 geckodriver::marionette INFO Starting browser ?\C:\Program Files\Mozilla Firefox\firefox.exe with args ["-marionette"]
1507628782772 addons.xpi WARN Error parsing extensions state: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [amIAddonManagerStartup.readStartupData]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: loadExtensionState :: line 1554" data: no] Stack trace: loadExtensionState()@resource://gre/modules/addons/XPIProvider.jsm:1554 < getInstallState()@resource://gre/modules/addons/XPIProvider.jsm:1589 < checkForChanges()@resource://gre/modules/addons/XPIProvider.jsm:3109 < startup()@resource://gre/modules/addons/XPIProvider.jsm:2188 < callProvider()@resource://gre/modules/AddonManager.jsm:269 < _startProvider()@resource://gre/modules/AddonManager.jsm:739 < startup()@resource://gre/modules/AddonManager.jsm:906 < startup()@resource://gre/modules/AddonManager.jsm:3090 < observe()@jar:file:///C:/Program%20Files/Mozilla%20Firefox/omni.ja!/components/addonManager.js:65
1507628783077 Marionette INFO Enabled via --marionette
Unable to read VR Path Registry from C:\Users\AparnaL\AppData\Local\openvr\openvrpaths.vrpath
[Child 8372] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346
[Child 8372] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346
1507628784065 Marionette INFO Listening on port 51655
1507628784098 Marionette WARN TLS certificate errors will be ignored for this session
1507628784132 Marionette DEBUG Register listener.js for window 6442450945
1507628784139 addons.productaddons WARN Failed downloading XML, status: 0, reason: error
1507628784152 addons.productaddons WARN Failed downloading via XHR, status: 0, reason: error
1507628784163 addons.productaddons WARN Failed downloading via XHR, status: 0, reason: error
Oct 10, 2017 3:16:24 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
1507628784224 Marionette DEBUG Received DOM event "beforeunload" for "about:blank"
1507628787018 Marionette DEBUG Received DOM event "pagehide" for "about:blank"
1507628787019 Marionette DEBUG Received DOM event "unload" for "about:blank"
1507628790236 Marionette DEBUG Received DOM event "DOMContentLoaded" for "https://illnqw1409.corp.amdocs.com:28501/idp-simulator/public/index.html"
1507628790289 Marionette DEBUG Received DOM event "pageshow" for "https://illnqw1409.corp.amdocs.com:28501/idp-simulator/public/index.html"
Oct 10, 2017 3:16:30 PM org.openqa.selenium.remote.ErrorCodes toStatus
INFO: HTTP Status: '404' -> incorrect JSON status mapping for 'unknown error' (500 expected)
Exception in thread "main" org.openqa.selenium.WebDriverException: timeouts
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T16:15:26.402Z'
System info: host: 'APARNAL01', ip: '10.19.206.79', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_144'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{moz:profile=C:\Users\AparnaL\AppData\Local\Temp\rust_mozprofile.t9OVYWPEc80W, rotatable=false, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, moz:headless=false, platform=XP, specificationLevel=0, moz:accessibilityChecks=false, acceptInsecureCerts=true, browserVersion=56.0, platformVersion=6.1, moz:processID=8020, browserName=firefox, javascriptEnabled=true, platformName=XP}]
Session ID: 17d36731-a38e-4b1b-b0b6-23492e7b64e4
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.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
at org.openqa.selenium.remote.RemoteWebDriver$RemoteWebDriverOptions$RemoteTimeouts.implicitlyWait(RemoteWebDriver.java:820)
at Login.main(Login.java:25)

Can you plz let us know solutipon. I got solution from conversation as' WebDriver spec needs to include the /shutdown endpoint #1026' what should I do for this. Because. I am new selenium user

@andreastt
Copy link
Member

This is a bug in Selenium, so please re-file it there.

@Aparn12
Copy link
Author

Aparn12 commented Oct 11, 2017 via email

@Aparn12
Copy link
Author

Aparn12 commented Oct 11, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants