How Selenium works(elements status/4:Edge)

2020-07-29

Overview

Test page

Microsoft Edge

83.0.478.58(64bit)
Version 83.0.478.58(64bit)

Button

Click

First, enter the id of the element in the locator field and press the “id" button. Next, press the “click" button.
If successful, the executed code of Python is displayed.

Normal

Click event occurred
Click event occurred

Inactive(pointer-events:none)

Exception occurred
Exception occurred
ElementClickInterceptedExceptionMessage: element click intercepted: Element <input type="submit" id="submit3" value="submit" class="btn-submit" style="pointer-events:none;" tabindex="-1" onclick="element_click('submit3!')"> is not clickable at point (831, 445). Other element would receive the click: <div>...</div>
  (Session info: MicrosoftEdge=83.0.478.56)
<traceback object at 0x000001F893D977C8>

Hidden(display:none)

Exception occurred
Exception occurred
ElementNotInteractableExceptionMessage: element not interactable
  (Session info: MicrosoftEdge=83.0.478.56)
<traceback object at 0x000001F897091608>

Result

Button click is_displayed is_enabled readonly
normal OK True True None
disabled NG True False None
pointer-events:none Ex True True None
readonly OK True True true
display:none Ex False True None
visibility:hidden Ex False True None

Link

Inactive(disabled)

It is clickable.

Click event occurred
Click event occurred
get attribute
displayed:True / enabled:True / readonly:None

Result

Link click is_displayed is_enabled readonly
normal OK True True None
disabled OK True True None
pointer-events:none Ex True True None
readonly OK True True true
display:none Ex False True None
visibility:hidden Ex False True None

Text

Inactive(disabled)

Exception occurred
Exception occurred
ElementNotInteractableExceptionMessage: element not interactable
  (Session info: MicrosoftEdge=83.0.478.56)
<traceback object at 0x000002194130ECC8>

Hidden(display:none)

Exception occurred
Exception occurred
ElementNotInteractableExceptionMessage: element not interactable
  (Session info: MicrosoftEdge=83.0.478.56)
<traceback object at 0x000002194261EA48>

Result

Text send_keys get value is_displayed is_enabled readonly
noraml OK OK True True None
disabled Ex OK True False None
pointer-events:none OK OK True True None
readonly NG OK True True true
display:none Ex OK False True None
visibility:hidden Ex OK False True None

Select

Hidden(display:none)

Exception occurred
Exception occurred
ElementNotInteractableExceptionMessage: element not interactable: Element is not currently visible and may not be manipulated
  (Session info: MicrosoftEdge=83.0.478.56)
<traceback object at 0x00000219402F0888>

An empty character is returned.
The item specified with <option> becomes an empty character.

option item
option1~3:empty, option4:index out of range

Result

Select select item get selected item is_displayed is_enabled readonly note
normal OK OK True True None  
disabled NG OK True False None  
pointer-events:none NG OK True True None  
readonly OK OK True True true  
display:none Ex NG* False True None *Empty is returned
visibility:hidden Ex NG* False True None *Empty is returned

Select(option item)

Inactive(pointer-events:none)

It is not selectable.

No response
No response

It is Selectable manually.

option2
option2 is slected manually.

Hidden(display:none)

“option2" is hidden, but it is selectable.
Not selectable manually.

option2
option2
option2is hidden.
option2is hidden.

Hidden(visibility:hidden)

“option2" is hidden, but it is selectable.
Not selectable manually.

option2
option2
option2is hidden.
option2is hidden.

“option2" is hidden, but “is_displayed()" is “True".

get attribute
displayed:True / enabled:True / readonly:None

Result

Select
(option)
select item get selected item is_displayed is_enabled readonly note
Normal OK OK True True None
disabled NG OK True False None
pointer-events:none NG* OK True True None *Selectable manually
readonly OK OK True True true
display:none OK* OK True True None *Not selectable manually
visibility:hidden OK* OK True True None *Not selectable manually

Radio

It was the same result as Chrome, Firefox and IE.

Result

Radio click button click label get value is_displayed is_enabled readonly
normal OK OK OK True True None
disabled NG NG OK True False None
pointer-events:none Ex OK OK True True None
readonly OK OK OK True True true
display:none Ex OK OK False True None
visibility:hidden Ex OK OK False True None

CheckBox

It was the same result as Chrome, Firefox and IE.

Result

CheckBox click button click label get value is_displayed is_enabled readonly
normal OK OK OK True True None
disabled NG NG OK True False None
pointer-events:none Ex OK OK True True None
readonly OK OK OK True True true
display:none Ex OK OK False True None
visibility:hidden Ex OK OK False True None