I'm trying to click element of this HTML:
<div class="feed-item__explanation" style="padding-left: 15px;">
<a href="javascript:" ng-click="carinext()">Load more</a>
</div>
I'm using selenium to process this:
driver.get(url)
while True:
try:
driver.find_element_by_xpath('//a[text()="Load more"]')
print 'found'
except Exception as e:
print e
break
That code can be processed and give output 'found'. But when I'm trying to click that element,
driver.find_element_by_xpath('//a[text()="Load more"]').click()
I'm getting an error like this:
Message: element not visible (Session info: chrome=62.0.3202.94)
Is this a problem to process the AngularJS script?