Hi, I am trying to press the select button using the xpath and css switch, but it does not work.
browser.find_elements_by_xpath('//div[@class="section-select-all"]').click() browser.find_elements_by_css_selector('#results-container > form > ul > li:nth-child(1) > div > div > button').click() browser.find_elements_by_xpath('//*[@id="results-container"]/form/ul/li[1]/div/div/button').click()
please let me know how this code will be here
<div class="section-actions"><button type="button" class="section-select-all">Select 50<span class="screen-reader-text"> for section Dec 11, 2015</span></button></div>
source share