简体   繁体   English

线程“主”org.openqa.selenium.WebDriverException 中的异常:权限被拒绝

[英]Exception in thread “main” org.openqa.selenium.WebDriverException: permission denied

This code is not running even when i find nothing wrong.即使我没有发现任何问题,这段代码也没有运行。 enter image description here在此处输入图像描述

Please make sure the mentioned path ie E:/ is accessible.请确保上述路径(即 E:/)是可访问的。

One of the solution is try to move gecko into some other directory.解决方案之一是尝试将壁虎移动到其他目录。

driver = webdriver.Firefox('<new directory>/geckodriver.exe')

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 线程“主” org.openqa.selenium.WebDriverException中的异常:无法访问Chrome - Exception in thread “main” org.openqa.selenium.WebDriverException: chrome not reachable 如何修复线程“主”org.openqa.selenium.WebDriverException 中的异常? - How to fix Exception in thread “main” org.openqa.selenium.WebDriverException? 线程“主” org.openqa.selenium.WebDriverException中的异常:未定义$ - Exception in thread “main” org.openqa.selenium.WebDriverException: $ is not defined 线程“ main”中的异常org.openqa.selenium.WebDriverException - Exception in thread “main” org.openqa.selenium.WebDriverException org.openqa.selenium.WebDriverException:访问属性“__qosId”的权限被拒绝 - org.openqa.selenium.WebDriverException: Permission denied to access property '__qosId' 线程“主”org.openqa.selenium.WebDriverException 中的异常:未知错误:使用 Selenium Java 的意外命令响应 - Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: unexpected command response using Selenium Java 线程“主” org.openqa.selenium.WebDriverException中的异常:未知错误:无法聚焦元素 - Exception in thread “main” org.openqa.selenium.WebDriverException: unknown error: cannot focus element 线程“main”中的异常 org.openqa.selenium.WebDriverException:驱动程序服务器进程过早死亡 - Exception in thread "main" org.openqa.selenium.WebDriverException: Driver server process died prematurely 线程“ main” org.openqa.selenium.WebDriverException中的异常:未知错误:Chrome无法启动:正常退出 - Exception in thread “main” org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited normally 线程“main”org.openqa.selenium.WebDriverException 中的异常:返回值无法转换为 WebElement:{stacktrace=Backtrace: - Exception in thread "main" org.openqa.selenium.WebDriverException: Returned value cannot be converted to WebElement: {stacktrace=Backtrace:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM