<bdo id='qkdLm'></bdo><ul id='qkdLm'></ul>
  1. <i id='qkdLm'><tr id='qkdLm'><dt id='qkdLm'><q id='qkdLm'><span id='qkdLm'><b id='qkdLm'><form id='qkdLm'><ins id='qkdLm'></ins><ul id='qkdLm'></ul><sub id='qkdLm'></sub></form><legend id='qkdLm'></legend><bdo id='qkdLm'><pre id='qkdLm'><center id='qkdLm'></center></pre></bdo></b><th id='qkdLm'></th></span></q></dt></tr></i><div id='qkdLm'><tfoot id='qkdLm'></tfoot><dl id='qkdLm'><fieldset id='qkdLm'></fieldset></dl></div>
    <legend id='qkdLm'><style id='qkdLm'><dir id='qkdLm'><q id='qkdLm'></q></dir></style></legend>
  2. <tfoot id='qkdLm'></tfoot>

      <small id='qkdLm'></small><noframes id='qkdLm'>

      将硒与电子框架联系起来(c#)

      时间:2023-08-26
      <i id='OdB4v'><tr id='OdB4v'><dt id='OdB4v'><q id='OdB4v'><span id='OdB4v'><b id='OdB4v'><form id='OdB4v'><ins id='OdB4v'></ins><ul id='OdB4v'></ul><sub id='OdB4v'></sub></form><legend id='OdB4v'></legend><bdo id='OdB4v'><pre id='OdB4v'><center id='OdB4v'></center></pre></bdo></b><th id='OdB4v'></th></span></q></dt></tr></i><div id='OdB4v'><tfoot id='OdB4v'></tfoot><dl id='OdB4v'><fieldset id='OdB4v'></fieldset></dl></div>
        • <bdo id='OdB4v'></bdo><ul id='OdB4v'></ul>
          <tfoot id='OdB4v'></tfoot>

            <legend id='OdB4v'><style id='OdB4v'><dir id='OdB4v'><q id='OdB4v'></q></dir></style></legend>

                <tbody id='OdB4v'></tbody>

                <small id='OdB4v'></small><noframes id='OdB4v'>

                本文介绍了将硒与电子框架联系起来(c#)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                我已经使用 Selenium webdriver 在 C# 中编写了几行代码.随着我的应用程序转移到 Electron 框架,一切都发生了变化,老实说,我现在不知道如何应对.

                I've already written few lines of code in C# using Selenium webdriver. As my application was transferred to the Electron framework everything has changed and honestly, I don't know how to cope with it right now.

                你能帮我澄清一下吗?我应该采取什么步骤来简单开始...我想继续我在当前项目中的工作(硒,C#),但我不确定这是否可能,或者我应该完全从头开始使用不同的语言和框架?

                Could you please clarify it to me? What steps should I take to simple start... I would like to continue my work in the current project (selenium, C#), but I'm not sure that it's possible, or I should completely start from scratch using a different language and framework?

                我已经阅读了有关 Spectron 的信息,并检查了诸如 stackoverflow 之类的互联网资源,但是我仍然处于不知情的地步……

                I've read about Spectron, and checked the internet resources like stackoverflow, however I'm still in the point of unawareness...

                推荐答案

                带有 mocha 的 Spectron 应该更快.

                Spectron with mocha is supposed to be faster.

                但这里仍然是您需要的.这是 Java &硒.

                But still here is what you need.This is Java & Selenium.

                System.setProperty("webdriver.chrome.driver","C:\electron-chromedriver\bin\chromedriver.exe");
                ChromeOptions chromeOptions = new ChromeOptions();
                chromeOptions.setBinary("C:\Users\app.exe");
                chromeOptions.addArguments("start-maximized");
                DesiredCapabilities capability = new DesiredCapabilities();
                capability.setCapability(CapabilityType.BROWSER_NAME, "Chrome");
                capability.setCapability("chromeOptions", chromeOptions);       
                driver = new ChromeDriver(chromeOptions);  
                

                我已将打包的电子应用程序用于二进制(即) app.exe .

                I have used the packaged electron app for binary (i.e) app.exe .

                我认为这就是你所需要的.

                I think this is what you need.

                这篇关于将硒与电子框架联系起来(c#)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:C# 将根添加到 XDocument 下一篇:无法在 Electron 应用程序中使用 Discord OAuth2

                相关文章

                最新文章

                <small id='O6N5V'></small><noframes id='O6N5V'>

                <legend id='O6N5V'><style id='O6N5V'><dir id='O6N5V'><q id='O6N5V'></q></dir></style></legend>

                • <bdo id='O6N5V'></bdo><ul id='O6N5V'></ul>
              • <i id='O6N5V'><tr id='O6N5V'><dt id='O6N5V'><q id='O6N5V'><span id='O6N5V'><b id='O6N5V'><form id='O6N5V'><ins id='O6N5V'></ins><ul id='O6N5V'></ul><sub id='O6N5V'></sub></form><legend id='O6N5V'></legend><bdo id='O6N5V'><pre id='O6N5V'><center id='O6N5V'></center></pre></bdo></b><th id='O6N5V'></th></span></q></dt></tr></i><div id='O6N5V'><tfoot id='O6N5V'></tfoot><dl id='O6N5V'><fieldset id='O6N5V'></fieldset></dl></div>

                  1. <tfoot id='O6N5V'></tfoot>