I'm trying to click on this button: browser.find_element_by_id('btnSearch')
But this button is blocking by this div tag: <div id="actionSearch" class="row pull-right">
How do I go around to click this button with id='btnSearch" while it's blocking by the actionSearch div?
I tried the following:
browser.find_element_by_id('btnSearch').click()
browser.implicitly_wait(10) el = browser.find_element_by_xpath('//*[@id="btnSearch"]') ActionChains(browser).move_to_element_with_offset(el, 1827, 270) ActionChains(browser).click() ActionChains(browser).perform()
element = browser.find_element_by_id('btnSearch') browser.execute_script("arguments[0].click();", element)
wait(browser, 10).until(EC.element_to_be_clickable((By.XPATH, //*[@id="btnSearch"]'))).click()
none of these work.
Can anyone help me with this? I've spent two days trying to click this button!! Please help!