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

Fast Order Statistic Tree in C# or a what DS is more efficient that SortedList providing the same functionality?
Using LINQ, get all the objects from a list with a specific column value? [closed]
How to add items to a DataGridView ComboBoxColumn?
Search a record by Date converting it to UTC, C# SQL Server Entity Framework
Run Azure compute emulator and storage and launch website without visual studio
How to search and replace classes like {classname}Attribute with {classname} classes with Resharper or VS?
Handling CollectionChanged only when the UI modifies the collection
How to set SoapProcessing via code
Get The DataBase Table Name in C#
STA error when opening WPF window from Winform window
Getting System.Runtime.InteropServices.COMException on trying to register word addin
Is there a COM type library for Windows Core Audio
How i can draw professional ERM lines
Unity(C#) unable to read JavaScriptSerializer, 'Web' does not exist in 'System'?
NotImplementedException in msdeploy when using useChecksum
Dragable shapes in WPF with childs

Categories

HOME
kendo-ui-angular2
marie
primefaces
openacc
window.open
dynamic
crm
bitbucket
crash
opengl-es
adroitlogic
browsermob
brightway
project-reactor
bootstrap-datetimepicker
ampscript
single-page-application
custom-component
rvm
scrapy-spider
datastax-enterprise
stack-trace
javapns
federated
r-factor
intermec
jql
urhosharp
choco
storefront
ports
voyager
apache-falcon
wit-ai
sampling
rythm
mongoid5
const
scalamock
observer-pattern
fisheye
keychain
jvisualvm
intervention
django-cors-headers
spring-ide
hdpi
dcom
monaca
richtext
seyren
typewriter
totalview
ios-keyboard-extension
robotc
mongodb-3.3
altova
netlink
init
magick.net
recurring
laterjs
radar-chart
android-contentresolver
kramdown
jcomponent
page-flipping
cloud-storage
vensim
avd
mergecursor
parseexception
beagleboard
numerical-recipes
crtdbg.h
apache-pivot
nsnotificationcenter
amzi-prolog
yandex-api
nodeunit
mahara
lastinsertid
bho
feincms
esi
waveout
sup
bindinglist
socketasynceventargs
unordered-set
cgaffinetransform
peoplepicker
opendir
auto-compile
http-response-codes
nstoolbar
database-agnostic
jquery-attributes
morfik
opengl-to-opengles
user-preferences
jgrowl
moores-law

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