μλ¬μν©
μ
λ λμμμ νΉμ element λ₯Ό click νλλ‘ νλλ°, ν΄λΉ element κ° not clickable νλ€κ³ λ¨λ μλ¬μ΄λ€.
Message: element click intercepted: ~
μλ¬μμΈ
ν¬λ‘¬ μμμ element κ° μμ§ clickable νκ² λ λλ§λμ§ μμμ λ¨λ μ€λ₯μ΄λ€.
μλ¬ν΄κ²°
μ
λ λμμ EC (Expected Condition) λ₯Ό νμ©νμ¬ ν΄λΉ element κ° clickable ν΄μ§λκΉμ§ λͺ
μμ (explicit)μΌλ‘ κΈ°λ€λ €μ£Όλλ‘ νλ€.
EC.element_to_be_clickable((By.ID, 'someid')
EC.element_to_be_clickable((By.CLASS_NAME, 'some_classname')
EC.element_to_be_clickable((By.NAME, 'some_name')
Python
볡μ¬
β’
μ°Έκ³ : element_to_be_clickable λ§κ³ λ€λ₯Έ μ΅μ
EC.title_is(...)
EC.title_contains(...)
EC.presence_of_element_located(...)
EC.visibility_of_element_located(...)
EC.visibility_of(...)
EC.presence_of_all_elements_located(...)
EC.text_to_be_present_in_element(...)
EC.text_to_be_present_in_element_value(...)
EC.frame_to_be_available_and_switch_to_it(...)
EC.invisibility_of_element_located(...)
EC.element_to_be_clickable(...)
EC.staleness_of(...)
EC.element_to_be_selected(...)
EC.element_located_to_be_selected(...)
EC.element_selection_state_to_be(...)
EC.element_located_selection_state_to_be(...)
EC.alert_is_present(...)
Python
볡μ¬
μ°Έκ³ :