@Nikolas кто то из участников форума давно написал хелпер удобный,
https://play.google.com/store/apps/details?id=gangal.pro.regexp.helper
Элемент существует, но не найден
-
Как такое может быть?

[905080710] [19:01:43] Поток №1 : Не удалось дождаться элемента >XPATH> (//button[@aria-label="Action menu"])[1]Проверить можно на этой странице после ввода пароля от YouTube.
-
Перед проверить существование поставьте сон 3 секунды.
Потом отпишитесь сюда. -
You should firstly click on that (...) button, and than check
existence, if it is necessary. Why check existence if it will always be
present? Maybe its better to describe what you are actually
trying to achieve..Probably element exist on the page but its not visible
(until you click on dropdown menu button). -
For YT its best to use CSS selectors suggested by bas. or create your
own if necessary. On standard YT channel css selector for (...) was >>CSS> .ytd-video-primary-info-renderer > .dropdown-trigger > button.style-scope > .ytd-menu-rendererBut its from few months old project, and YT sometimes makes a
small changes periodically. So its just a reference, in your case its different
page than standard YT channel page, so just select it with bas and choose
best offered css selector. -
@Dodok Спасибо. Я разобрался в чем было дело. Если после нажатия на кнопку (..,) удалить этот лайк, то счетчик не обнуляется и первый лайк в списке становится номер 2, т.е.:
(//button[@aria-label="Action menu"])[2]Хотя на экране мы видим, что лайк удалился. В то же время:
(//button[@aria-label="Action menu"])[1]возвращает
IS_EXISTS=true, при этом кликнуть не может.



