I am trying to create a script to publish an automatic blog on Google sites, but the problem is that the button will not click. This is my screenshot: http://i.stack.imgur.com/W5mxq.png
Code button
<div aria-label="New page" tabindex="0" style="-moz-user-select: none;" role="button" id="create-new-btn" class="goog-inline-block jfk-button jfk-button-standard jfk-button-collapse-left" aria-disabled="false"><span id="sites-collaborator-bar-create-new-page-icon" class="sites-camelot-icon"></span></div>
This is my code in Imacros
IMACROS Code
VERSION BUILD=7601105 RECORDER=FX TAB T=1 URL GOTO=https://sites.google.com/site/testing/ TAG POS=1 TYPE=DIV ATTR=ID:create-new-btn
This is different code, but in Javascript Imacros
JAVA Code
var macro; macro = "CODE:"; macro += "TAB T=1" + "\n"; macro += "SET !ERRORIGNORE YES" + "\n"; macro += "SET !ERRORCONTINUE YES" + "\n"; macro += "SET !EXTRACT_TEST_POPUP NO" + "\n"; macro += "SET !TIMEOUT 500" + "\n"; macro += "URL GOTO=https://sites.google.com/site/testing/" + "\n"; macro += "TAG POS=1 TYPE=DIV ATTR=ID:create-new-btn" + "\n"; iimPlay(macro)
source share