javascript - need help to select month in gmail account with imacros -
to create gmail account imacros have completed getting problem month, have tried lots can not select month imacros.
http://i.stack.imgur.com/nbodi.jpg
the codes month as:
<div class="goog-menu goog-menu-vertical" aria-haspopup="true" role="listbox"> <div id=":1" style="-moz-user-select: none;" role="option" class="goog-menuitem"><div class="goog-menuitem-content">january</div></div> <div id=":2" style="-moz-user-select: none;" role="option" class="goog-menuitem"><div class="goog-menuitem-content">february</div></div>
i have tried following code:
tag pos=1 type=div form=id:createaccount attr=role:listbox content=#3 tag pos=1 type=div attr=txt:july content=#3
it clicking on month button not selecting month.
could me sort out problem?
try following code:
set monthnum 7 set monthslc eval("var s = '{{monthnum}}'; switch ('{{monthnum}}') {case '10': s = 'a'; break; case '11': s = 'b'; break; case '12': s = 'c'; break;} '#\\\\:' + s + '>div';") set listslc "#birthmonth>div>div:nth-of-type(2)" event type=mousedown selector={{listslc}} button=0 event type=mouseup selector={{listslc}} button=0 event type=mousedown selector={{monthslc}} button=0 event type=mouseup selector={{monthslc}} button=0
by analogy 'month' field, try set gender in way:
' e - female, f - male, g - other set gender f set genderslc #\:{{gender}}>div event type=click selector="#gender>div" button=0 event type=click selector={{genderslc}} button=0
Comments
Post a Comment