【问题标题】:C# Selenium open temporary Firefox Profiles how to stop it?C# Selenium 打开临时 Firefox Profiles 如何阻止它?
【发布时间】:2018-04-10 15:03:24
【问题描述】:

如何从我的个人资料中打开相同的 selenium 个人资料无临时副本 我在 C# 中需要相同的 firefox 配置文件

我已经读过这篇文章了:

How to stop Selenium from creating temporary Firefox Profiles using Web Driver?

但它不适用于我,我也使用 C#,而不是我尝试使用的 java:

Environment.SetEnvironmentVariable("webdriver.firefox.profile", "Profile0", EnvironmentVariableTarget.Machine);

但是,仍然从我选择的配置文件创建新的临时文件,但我需要相同的配置文件。

谢谢

【问题讨论】:

    标签: selenium selenium-webdriver automation firefox-profile


    【解决方案1】:

    根据这个答案,无法停止 selenium 创建临时配置文件

    How to stop Selenium from creating temporary Firefox Profiles using Web Driver?

    【讨论】:

      猜你喜欢
      • 2021-10-29
      • 1970-01-01
      • 1970-01-01
      • 2015-03-05
      • 2013-08-10
      • 2017-08-07
      • 2021-08-06
      • 1970-01-01
      • 2012-03-07
      相关资源
      最近更新 更多