New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 612404 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue chromedriver:1388
Owner: ----
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

org.openqa.selenium.WebDriverException: unknown error: Expecting a function in instanceof check, but got [object Object]

Reported by ashish.k...@gmail.com, May 17 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

Steps to reproduce the problem:
1. 
2. 
3. 

What is the expected behavior?

What went wrong?
org.openqa.selenium.WebDriverException: unknown error: Expecting a function in instanceof check, but got [object Object] (Session info: chrome=50.0.2661.102) (Driver info: chromedriver=2.21.371461 (633e689b520b25f3e264a2ede6b74ccc23cb636a),platform=Linux 3.10.0-229.4.2.el7.x86_64 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 22 milliseconds Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'R309-BL09-VM9.yodlee.com', ip: '172.17.6.26', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-229.4.2.el7.x86_64', java.version: '1.8.0_25' Driver info: com.yodlee.dap.gatherer.browser.YodWebDriverChromeImpl Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, chrome={chromedriverVersion=2.21.371461 (633e689b520b25f3e264a2ede6b74ccc23cb636a), userDataDir=/opt/ctier/dap/Chrome_Data/userData/0}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=50.0.2661.102, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 33a867567f52b6931a1c9f900f1c09ec *** Element info: {Using=tag name, value=h2} 
    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:408) 
    at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206) 
    at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158) 
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678) 
    at org.openqa.selenium.remote.RemoteWebDriver.findElements(RemoteWebDriver.java:388) 
    at org.openqa.selenium.remote.RemoteWebDriver.findElementsByTagName(RemoteWebDriver.java:453) 
    at org.openqa.selenium.By$ByTagName.findElements(By.java:327) 
    at org.openqa.selenium.remote.RemoteWebDriver.findElements(RemoteWebDriver.java:351) 
    at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
    at java.lang.reflect.Method.invoke(Method.java:483) 
    at org.openqa.selenium.support.events.EventFiringWebDriver$2.invoke(EventFiringWebDriver.java:103) 
    at com.sun.proxy.$Proxy108.findElements(Unknown Source) 
    at org.openqa.selenium.support.events.EventFiringWebDriver.findElements(EventFiringWebDriver.java:177) 
    at com.yodlee.dap.gatherer.validationutils.ScriptUtil.isTextOrURLOrHTMLFoundOnPage(ScriptUtil.java:2393) 
    at com.yodlee.dap.gatherer.validationutils.ScriptUtil.checkTextsWithOperator(ScriptUtil.java:4848) 
    at com.yodlee.dap.gatherer.validationutils.ScriptUtil.getTextOrURLOrHTMLFoundOnPage(ScriptUtil.java:4816) 
    at com.yodlee.dap.gatherer.api.WebPageExceptionUtil.errorURL(WebPageExceptionUtil.java:198) 
    at com.yodlee.dap.gatherer.api.WebPageExceptionUtil.lambda$errorPage$52(WebPageExceptionUtil.java:133) 
    at com.yodlee.dap.gatherer.api.WebPageExceptionUtil$Lambda$42/746162960.accept(Unknown Source) 
    at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) 
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) 
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) 
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) 
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) 
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) 
    at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) 
    at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) 
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 
    at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) 
    at com.yodlee.dap.gatherer.api.WebPageExceptionUtil.errorPage(WebPageExceptionUtil.java:132) 
    at com.yodlee.dap.gatherer.api.WebPageExceptionUtil.errorPage(WebPageExceptionUtil.java:88) 
    at com.yodlee.dap.gatherer.browser.MyWebDriverEventListener.populateNavigationDetails(MyWebDriverEventListener.java:251) 
    at com.yodlee.dap.gatherer.browser.MyWebDriverEventListener.afterNavigateTo(MyWebDriverEventListener.java:132) 
    at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
    at java.lang.reflect.Method.invoke(Method.java:483) 
    at org.openqa.selenium.support.events.EventFiringWebDriver$1.invoke(EventFiringWebDriver.java:80) 
    at com.sun.proxy.$Proxy107.afterNavigateTo(Unknown Source) 
    at org.openqa.selenium.support.events.EventFiringWebDriver.get(EventFiringWebDriver.java:164) 

Crashed report ID: 

How much crashed? Just one tab

Is it a problem with a plugin? No 

Did this work before? N/A 

Chrome version: 50.0.2661.102  Channel: stable
OS Version: Centos 7.1
Flash Version: Shockwave Flash 21.0 r0
 
Steps to reproduce the problem:
chrome=50.0.2661.102
Driver info: chromedriver=2.21.371461

URL - https://trading.scottrade.com/default.aspx
findElementsByTagName - is failing


Cc: kavvaru@chromium.org
Labels: Needs-Feedback
 ashish.khandelwal031@ thanks for the issue.

Could you please provide us the steps to reproduce the issue and crash id from chrome://crashes  to triage the issue further.

Thanks,

Comment 3 Deleted

I am doing automation testing and it is failing and same is working with Chrome 43 with chromedriver 2.16.
Project Member

Comment 5 by sheriffbot@chromium.org, May 18 2016

Labels: -Needs-Feedback Needs-Review
Owner: kavvaru@chromium.org
Thank you for providing more feedback. Adding requester "kavvaru@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Needs-Review Te-NeedsFurtherTriage
Owner: ----
Components: Tests>WebDriver
Mergedinto: chromedriver:1388
Status: Duplicate (was: Unconfirmed)
This is a duplicate of  issue chromedriver:1388 .

Sign in to add a comment