Now the hover is happening, but the button that appears does not press hard.

hover = driver.find_element_by_xpath("//h2[text()='МТС Деньги Weekend']") # Наведение мыши hover = ActionChains(driver).move_to_element(hover).perform() hover.perform() driver.find_element_by_xpath("//*[@id=\"result\"]/div[1]/div/div[1]/a/div[2]/div[1]/div[2]/div[1]").click() 
  • I’m sure this solution will help you: stackoverflow.com/questions/8252558/… - German
  • one
    Why did you decide that there was no guidance? Maybe you just do not notice, since the test ends? - suit
  • @German Thanks for the reply. It helped - Sergey Bogdanov
  • Yes. Now there is guidance, but he stubbornly does not click on the appearing button. - Sergey Bogdanov

1 answer 1

Everything. I figured it out myself. It is necessary to remove hover = и hover.perform() . It all worked