Cannot find file named 'isDisplayed.js '

lac
Posts: 4
Joined: Fri Mar 27, 2015 3:48 am

Cannot find file named 'isDisplayed.js '

Post by lac » Fri Jul 14, 2023 3:47 am

Hi Team

I am getting this error when using RanorexDriver embedded with Ranorex Studio 10.7.1. I am using C#.NET, but cannot write code to check if an element is displayed like this:

IWebElement e = _driver.FindElement(....);

if (e.Displayed)....

Due to the code throwing the exception below. I can almost guarantee another file 'getAttributes.js' will be missing as well. Anyone else faced this?

OpenQA.Selenium.WebDriverException : Cannot find a file named 'C:\Users\...\bin\Debug\net48\isDisplayed.js' or an embedded resource with the id 'isDisplayed.js'.