So I go to this website, Screen looks something like this:
I use
Ctrl+Shift+C
and select the play button, which is where I would click,
the element looks like this:
<i class="material-icons flex" ng-show="!fullScreenOverlay.clicked && !fullScreenOverlay.buffered && !fullScreenOverlay.showTags && recordingActivityLoaded" ng-click="playInit()" flex="" role="button" tabindex="0" aria-hidden="false" style="">play_circle_outline</i>
I copy it's xpath and I do this with webdriver:
btn = wd.find_element_by_xpath('/html/body/div[8]/i[1]')
btn.click()
But I receive this error:
ElementNotInteractableException: Message: element not interactable
(Session info: headless chrome=91.0.4472.101)
I can click on it, why can't the webdriver?