Is there a way to successfully check this checkbox?view image description
I attempted the following:
within('div[id="modalPersistEtapa"]') do
element = @driver.find_element(:xpath, '//*[@id="2018_4"]/i')
@driver.execute_script("arguments[0].click();"
Unfortunately, it did not work! =(
This is the error I encountered:
element click intercepted: Element <i class="i i-logout"></i> is not clickable at point (1878, 56). Other element would receive the click: <div class="modal fade bs-example-modal-lg in" id="modalPersistEtapa" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="false" style="display: block;">...</div>
(Session info: chrome=87.0.4280.88) (Selenium::WebDriver::Error::ElementClickInterceptedError)
Backtrace:
Ordinal0 [0x012DC0C3+3326147]
...