首页 > 解决方案 > MSEdgeDriver - Cannot find a file name bin\Debug\isDisplayed.js

问题描述

i recently switched to edge driver from chrome driver and i am encountering the following error when i run my tests

I am using visual studio, .Net, C#

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

I am using the following:

Selenium.WebDriver.MSEdgeDriver 91.0.864.37
Microsoft Edge 91.0.864.64

The browser is controlled by organisation so i cant revert to previous version of edge

标签: c#seleniumselenium-webdriverautomationautomated-tests

解决方案


推荐阅读