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

Error: Permission denied to access property "length" #302

Closed
FranciszekMalcher opened this issue Oct 25, 2016 · 2 comments
Closed

Error: Permission denied to access property "length" #302

FranciszekMalcher opened this issue Oct 25, 2016 · 2 comments

Comments

@FranciszekMalcher
Copy link

Firefox: 47.0.1
geckodriver v0.11.1

When I need to wait for element to be clickable I use explicit wait:

new WebDriverWait(getDriver(), 2).until(ExpectedConditions.elementToBeClickable(element));

On firefox exception is thrown:

`org.openqa.selenium.JavascriptException: Error: Permission denied to access property "length"
Build info: version: '3.0.0', revision: '350cf60', time: '2016-10-13 10:48:57 -0700'
System info: host: 'LTTW0362', ip: '10.40.131.140', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'
Driver info: com.avira.abs.support.FirefoxDriver
Capabilities: Not needed.
Session ID: 204d85f0-e300-4ca4-a9d7-c97dc5443edc
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.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:127)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:93)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:42)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:163)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
at com.avira.abs.support.FirefoxDriver.execute(FirefoxDriver.java:32)
at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:274)
at org.openqa.selenium.remote.RemoteWebElement.isDisplayed(RemoteWebElement.java:315)
at org.openqa.selenium.support.ui.ExpectedConditions.elementIfVisible(ExpectedConditions.java:302)
at org.openqa.selenium.support.ui.ExpectedConditions.access$100(ExpectedConditions.java:41)
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
at org.openqa.selenium.support.ui.ExpectedConditions$22.apply(ExpectedConditions.java:651)
at org.openqa.selenium.support.ui.ExpectedConditions$22.apply(ExpectedConditions.java:644)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:238)
at com.avira.abs.pageObjects.BaseObject.clickElement(BaseObject.java:21)
at com.avira.abs.pageObjects.PopupObject.openMenu(PopupObject.java:83)
at com.avira.abs.stepDefinitions.Menu_Steps.theUserClicksTheHelpIcon(Menu_Steps.java:21)
at ✽.And the user clicks the menu settings

@andreastt
Copy link
Contributor

This isn’t reproducible. Closing.

@lock
Copy link

lock bot commented Aug 17, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue.

@lock lock bot locked and limited conversation to collaborators Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants