Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

295
Visualizações
How do I click on an element which is inside an iframe?

I just started to learn how to code in Python 2 months ago through a university course. I am working on my first personal project where I want to navigate through a website and execute some actions in it. I am currently using Selenium and found its find_element commands easy to use and have been able to log into my account on the website without a problem. However, once logged in, the find_element commands stopped working, because the element I am trying to find in order to click it, does not have an id or name, and the Class name and Xpath commands do not seem to respond either. I have been stuck for the past 24 hours looking into why these are not working. I have been able to find out that the element is inside an iframe (which I don't quite understand much yet) and it is also inside of a slick-slide. Below, I will share the element:

<div class="item ng-scope slick-slide" data-index="$index+1" ng-repeat="date in datesObj" ng-click="setDate($index+1, date)" style="width: 88px;" tabindex="-1" role="option" aria-describedby="slick-slide03" data-slick-index="3" aria-hidden="true"> <div class="day ng-binding">Fri</div> <div class="date ng-binding">Dec 9</div> </div>

https://www.capefearcountryclub.net/CMSModules/CHO/TeeTimes/PublicTeeTimes.aspx#!/

Replica website

My Website

Would really appreciate help with this.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda