它似乎已经选择了该按钮(在此图像中以蓝色突出显示:http://i.imgur.com/i73nfKv.png ),但它没有提交/单击它,它只是停在那里。
这是我的代码。
SET !EXTRACT_TEST_POPUP NO
SET !LOOP 1
SET !VAR1 0
SET !CLIPBOARD {{!EXTRACT}}
' open a webpage in the first tab
TAB T=1
URL GOTO=file:///Users/mycomputer/Desktop/names.html
TAG POS={{!LOOP}} TYPE=TD ATTR=CLASS:bodytxt&&TXT:* EXTRACT=TXT
' open a new tab
TAB OPEN
' get new tab to foreground
TAB T=2
' load another page
URL GOTO=http://www.tumblr.com/ask_form/{{!EXTRACT}}.tumblr.com
TAG POS=1 TYPE=TEXTAREA FORM=ID:ask_form ATTR=ID:question CONTENT=Hey!
TAG POS=1 TYPE=BUTTON ATTR=ID:ask_button
CLICK X=784 Y=166