Best way to click embedded Video - xpath, css or match elements?

rolliepolies

Новичок
Регистрация
17.08.2014
Сообщения
4
Благодарностей
0
Баллы
1
Hi im trying to use zp to click a play button on the embedded youtube video via iframe but not having a lot of luck. it doesnt play automatically)
I can get it to work on some videos but not all for example i can use XPATH //*[@id="main"]/article/div[1]/iframe for some but if the useragent is differnt like mobile it does not work.

I kept looking at source code and saw [aria-label=“Play"] i think this is for disabled people so should work but cannot figure out how to use.
What is the best most reliable way to click make youtube video play?
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)