📜  在 selenium 中选择了什么 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:50.100000             🧑  作者: Mango

代码示例1
isSelected()   -> verifies if the web element is selected or not
               is used with radio buttons, dropdowns and checkboxes.

isDispalyed() -> verifies the presence of a web element within the web page. 
                    If found -> true,   If not found ->  false    
              checks for the presence of all kinds of web elements available
isEnabled()    -> verify if the web element is enabled or disabled within 
                  the web page.
               isEnabled primarily used with buttons