i am trying to click on element in chrome driver browser using python and selenium. when trying to click i get the element not visible exception. this is html code:
<div class="mid-content"><ul><li><b><span>Private</span><span><!-- react-text: 715 --> (<!-- /react-text --><!-- react-text: 716 -->
3<!-- /react-text --><!-- react-text: 717 -->)
<!-- /react-text --></span></b></li><li><img alt="" src="../img/UserProfile/lock.svg" width="18" height="24"></li><li class="bottom-title">Request to View</li></ul></div>
this is how click by xpath:
browser.find_element_by_xpath('//*[@id="App-content"]/div/div[1]/div[2]/div[1]/div[3]/div/div/a/div/ul')
its not working. but if i click in chrome driver browser manually first and then run this line of code it's everything working fine. What's the trick?please help me to solve this problem.