<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                [//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/element/other/equals-element.yml) # 判斷元素是否相等 判斷兩個元素的ID是否指向同一元素 [//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/element/other/equals-element.yml) ## 用法示例 ```java // Java // Overrides the Java Object .equals method MobileElement elementOne = (MobileElement) driver.findElementByClassName("SomeClassName"); MobileElement elementTwo = (MobileElement) driver.findElementByClassName("SomeOtherClassName"); boolean isEqual = elementOne.equals(elementTwo); ``` ```python # Python # TODO Python sample ``` ```javascript // Javascript // webdriver.io example let elementOne = $("someClass"); let elementTwo = $("someOtherClass"); let isEqual = elementOne.isEqual(elementTwo); // wd example let elementOne = await driver.elementByClassName("someClass"); let elementTwo = await driver.elementByClassName("someOtherClass"); let isEqual = await elementOne.equalsElement(elementTwo); ``` ```ruby # Ruby # ruby_lib example element1 = find_element :class_name, "someClass" element2 = find_element :class_name, "someOtherClass" element1 == element2 # ruby_lib_core example element1 = @driver.find_element :class_name, "someClass" element2 = @driver.find_element :class_name, "someOtherClass" element1 == element2 ``` ```php # PHP // TODO PHP sample ``` ```csharp // C# var elementOne = driver.FindElementByClassName("SomeClassName"); var elementTwo = driver.FindElementByClassName("SomeOtherClassName"); bool isEqual = elementOne.Equals(elementTwo); ``` [//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/element/other/equals-element.yml) ## 版本支持 [//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/element/other/equals-element.yml) ### Appium服務端 |平臺|Driver|平臺版本|Appium版本|Driver版本| |--------|----------------|------|--------------|--------------| | iOS | [XCUITest](../drivers/ios-xcuitest.md) | 無 | 無 | 無 | | | [UIAutomation](../drivers/ios-uiautomation.md) | 8.0 to 9.3 | 全部 | 全部 | | Android | [Espresso](../drivers/android-espresso.md) | ?+ | 1.9.0+ | 全部 | | | [UiAutomator2](../drivers/android-uiautomator2.md) | ?+ | 1.6.0+ | 全部 | | | [UiAutomator](../drivers/android-uiautomator.md) | 4.3+ | 全部 | 全部 | | Mac | [Mac](../drivers/mac.md) | ?+ | 1.6.4+ | 全部 | | Windows | [Windows](../drivers/windows.md) | 10+ | 1.6.0+ | 全部 | [//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/element/other/equals-element.yml) ### Appium客戶端 |編程語言|支持的版本|對應的文檔| |--------|-------|-------------| |[Java](https://github.com/appium/java-client/releases/latest)| 全部 | [appium.github.io](https://appium.github.io/java-client/io/appium/java_client/MobileElement.html) | |[Python](https://github.com/appium/python-client/releases/latest)| 全部 | [selenium-python.readthedocs.io](http://selenium-python.readthedocs.io/api.html) | |[Javascript (WebdriverIO)](http://webdriver.io/index.html)| 全部 | | |[Javascript (WD)](https://github.com/admc/wd/releases/latest)| 全部 | [github.com](https://github.com/admc/wd/blob/master/lib/commands.js#L1463) | |[Ruby](https://github.com/appium/ruby_lib/releases/latest)| 全部 | [www.rubydoc.info](https://www.rubydoc.info/gems/selenium-webdriver/0.0.28/Selenium/WebDriver/Element#==-instance_method) | |[PHP](https://github.com/appium/php-client/releases/latest)| 全部 | [github.com](https://github.com/appium/php-client/) | |[C#](https://github.com/appium/appium-dotnet-driver/releases/latest)| 全部 | [github.com](https://github.com/SeleniumHQ/selenium/blob/master/dotnet/src/webdriver/Remote/RemoteWebElement.cs) | [//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/element/other/equals-element.yml) ## HTTP應用程序接口文檔 [//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/element/other/equals-element.yml) ### 接口 `GET /session/:session_id/element/:element_id/equals/:other_element_id` [//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/element/other/equals-element.yml) ### URL參數 |參數名|參數描述| |----|-----------| |session_id|執行命令所使用到的session ID| |element_id|元素ID| |element_id|另一個被比較的元素ID| [//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/element/other/equals-element.yml) ### JSON參數 無 [//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/element/other/equals-element.yml) ### 返回結果 是否兩個元素的ID指向的是同一元素(`boolean`) [//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/element/other/equals-element.yml) ## 其他鏈接 * [JSONWP 文檔](https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidelementidequalsother)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看