Hi, i need help to simulate a click on a button.. i usually do _FFClick from FF.au3 UDF but this button i can't get proper id or name..
Its the subscribe button from youtube.. html code below:
HTML Code:
<div id="c4-primary-header-contents" class="primary-header-contents clearfix">
<div class="primary-header-actions clearfix">
<span class="channel-header-subscription-button-container yt-uix-button-subscription-container with-preferences">
<button class="yt-uix-button yt-uix-button-size-default yt-uix-button-subscribe-branded yt-uix-button-has-icon yt-uix-subscription-button yt-can-buffer" data-sessionlink="ei=JFnuU4iIFuLYiQbapYDwCg&ved=CGIQmys&feature=channels4" data-style-type="branded" data-channel-external-id="UCHmaPzR-NK2Qp0TklfBN_1g" aria-role="button" aria-live="polite" aria-busy="false" onclick=";return false;" type="button">
<span class="yt-uix-button-icon-wrapper">
<span class="yt-uix-button-content">
</button>
<button class="yt-uix-button yt-uix-button-size-default yt-uix-button-default yt-uix-button-empty yt-uix-button-has-icon yt-uix-subscription-preferences-button" data-channel-external-id="UCHmaPzR-NK2Qp0TklfBN_1g" aria-role="button" aria-label="Preferências de subscrição" aria-live="polite" aria-busy="false" onclick=";return false;" type="button">
<span class="yt-subscription-button-subscriber-count-branded-horizontal subscribed" title="790">790</span>
<span class="yt-subscription-button-disabled-mask" title=""></span>
<div class="yt-uix-overlay " data-overlay-shape="tiny" data-overlay-style="primary">
</span>
</div>
The first line with the <button.. blabla its the code of the button i want to click