我目前正在尝试开发一个小的c#脚本截图网站。我正在使用VisualStudio2019,我的代码如下: var service = ChromeDriverService.CreateDefaultService();
ChromeOptions/", OpenQA.Selenium.ScreenshotImageFormat.Png); 现在我得到了这个错误消息: System.UnauthorizedAccessException: "Accessto
UniversalTestApp\UniversalTestApp\bin\x86\Debug\AppX\xmlfile.xml‘”的异常发生在System.IO.FileSystem.dll中,但未在用户代码中处理附加信息:对路径的访问“c:\ user \brandon\System.UnauthorizedAccessException\visualstudioSystem.UnauthorizedAccessException”被拒