织梦CMS - 轻松建站从此开始!

abg欧博官网|登陆|游戏|

Selenium: probably user data directory is already

时间:2025-10-27 06:38来源: 作者:admin 点击: 5 次
I also faced a similar issue - a java cucumber test trying to interact with an msedgedriver.exe, and then reporting the same error message: "org.

I also faced a similar issue - a java cucumber test trying to interact with an msedgedriver.exe, and then reporting the same error message: "org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: probably user data directory is already in use, please specify a unique value for --user-data-dir argument, or don't use --user-data-dir".

It turns out that the process was running as an administrator on the windows box, rather than using a user account (with AD credentials), and that seemed to cause the issue. When we ran java using a user account, then cucumber was able to interact with the selenium web driver.

(责任编辑:)
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:
发布者资料
查看详细资料 发送留言 加为好友 用户等级: 注册时间:2025-10-28 23:10 最后登录:2025-10-28 23:10
栏目列表
推荐内容