gpt4 book ai didi

java - 从哪里获取 Java Selenium Webdriver 的 IWait 和 IWebDriver 类?

转载 作者:行者123 更新时间:2023-12-02 10:15:11 26 4
gpt4 key购买 nike

This答案给出了如何在 Java selenium webdriver 中等待的示例,但是从哪里获取这些类和包,例如 IWait , IWebDriver ,和OpenQA.Selenium.Support.UI.WebDriverWait

最佳答案

C#:

  • IWait :IWait OpenQA.Selenium.Support.UI Namespace 中的接口(interface)之一
  • IWebDriver : IWebDriver 是定义用户控制浏览器的接口(interface)的接口(interface)。
  • OpenQA.Selenium.Support.UI.WebDriverWait : OpenQA.Selenium.Support.UI.WebDriverWait 是包含以下内容的命名空间:

    • DefaultWait<T>
    • ExpectedConditions
    • LoadableComponent<T>
    • LoadableComponentException
    • PopupWindowFinder
    • SelectElement
    • SlowLoadableComponent<T>
    • SystemClockDefaultWait<T>
    • UnexpectedTagNameException
    • WebDriverWait
    • IClock接口(interface)
    • ILoadableComponent接口(interface)
    • IWait<T>接口(interface)

Java

  • Wait<F> : Wait<F> 是等待条件为真或不为空的通用接口(interface)。该条件可以采用单个类型的参数。
  • WebDriver : WebDriver 是用于测试的主界面,它代表了一个理想化的网络浏览器。
  • org.openqa.selenium.support.ui : org.openqa.selenium.support.ui 包含 Interface Wait<F>

关于java - 从哪里获取 Java Selenium Webdriver 的 IWait 和 IWebDriver 类?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54738596/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com