New to Selenium, I want to select the 1st div class with the 2nd div class have the same name as shown in snapshot below -
...
<div class = "inner-TPBYkbxL fake-TPBYkbxL" data-is-fake-main-panel="true">
<div class = "inner-TPBYkbxL fake-TPBYkbxL" data-is-fake-main-panel="true">
...
Snapshot Div Class Structure
I tried -
driver.find_element_by_xpath("//div[@class='inner-TPBYkbxL fake-TPBYkbxL' and @data-is-fake-main-panel='true']").click()
But it returned
selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable