c#


“System.InvalidOperationException: Permission denied to access property” when using Selenium with Firefox


I have a set of test cases in Selenium using C# that run perfectly on Chrome and on Edge, but when I execute them in Firefox they perform all the steps until the assertion and at that point the execution fails showing me the following error message:
Result Message: System.InvalidOperationException : Error: Permission
denied to access property "invoke"
Does anyone know how to solve this?
EDIT =
Well... the code for the creation of the IWebDriver is this:
IWebDriver Driver = new FirefoxDriver();
Driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(10));
return Driver;
And all the interactions with the browser work alright until I do this:
Assert.AreEqual(this.Map.ErrorMessage.Displayed, displayed);
ErrorMessage is an IWebElement object.
I think that this must be a configuration issue with the Firefox browser because the same code works perfectly with Chrome and Edge.

Related Links

use unrar.dll in a c# project to retrieve the list of file and relative CRC code
How to declare an array containing generic type?
Manage multiple authentications with ASP.NET Identity
Is there any reason to keep a settings file nested underneath properties?
IIS Web Application can't be accessed remotely
re-number a value by 1 if same value
Fix error with route url in Asp.Net MVC 5
Calling AWS Lambda Fucntion from MVC controller
From C#, how do I call Release on a returned object that implements IStorage?
How to rename folder in network shared folder?
GhostScript has problems to open files with space in their name
Convert some local time to UTC in C#
DirectoryEntry.MoveTo() committing changes without calling CommitChanges()
How to use configuration settings in a Universal Windows App
Displaying an item that meets 2 conditions in a SQL database in a Webform label
How does MVC know which controller to call, when they are not annotated? [closed]

Categories

HOME
macros
leaflet
intellij-idea
cors
highmaps
ms-application-insights
sdk
browser-cache
yuv
jquery-select2
pip
vsixmanifest
restheart
samsung-gear-s2
yacc
rtc
software-collections
gcloud
elastalert
expo
fastreport
lambda-calculus
background-image
greensock
simd
wallet
orange
gpo
webgl-earth
bug-reporting
hololens
screen-scraping
infinite-loop
gsuite
windowserror
pydub
android-cursorloader
custom-fields
jms-topic
hierarchy
kundera
deferred
node-soap
ansible-inventory
ragel
respect-validation
rbac
colorbox
firefox-developer-edition
intervention
hdpi
px4
node-java
scrollmagic
suitesparse
vertex-shader
alarmmanager
android-tabs
hdr
patching
transaction-isolation
nugetgallery
salesforce-service-cloud
wonderware
angular-promise
ruby-1.8.7
event-tracking
redquerybuilder
transport
p4python
log-analysis
opennebula
tidesdk
mergecursor
beagleboard
jad
backtrace
unityvs
tigase
powerpoint-2010
pytz
nsmutableurlrequest
sat4j
isl
new-operator
windows-phone-store
flask-mongoengine
boofcv
logo-lang
thucydides
pechkin
cab
kohana-orm
azure-scheduler
phone-state-listener
linear-interpolation
mail-gem
parsec
jmesa
pex-and-moles
recess
virtual-destructor
activescaffold
silverlight-2.0
for-xml
focus-stealing
scala-designer
opengl-to-opengles
cross-cutting-concerns
stackless
memory-consumption

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App