Problem:AOL

From UIDWiki

Jump to: navigation, search

Popular Web Sites That Cause Problems for Chickenfoot

  • http://startpage.aol.com/ has an image next to its search box that says "AOL Search SEARCH THE WEB," so a user may expect to be able to write the following:
fill('search', 'my search terms');
click('search');

to initiate a search. Fortunately, the web site uses the <label> tag as follows:

<img border="0" src="http://cdn-startpage.aol.com/aolcomsp_html/srch_brand"
     width="75" height="22" alt="AOL Search, search the web" id="srchBrand"/>
<form id="srchForm" action="http://search.aol.com/aolcom/search" method="get">
<input type="hidden" name="invocationType" value="aolws"/>
<input class="moduleInput" type="text" id="srchQuery" name="query" title="query">
<input id="srchBtn" type="submit" class="formBtn" value="Search" onmouseover="btnOvr(this)"
                    onmouseout="btnOut(this)" onclick="btnClk(this)" />
...
<label for="srchQuery">AOL Search, search the web</label>

Because srchQuery is associated with AOL Search, search the web, the sample script above should work assuming Chickenfoot knows about <label> elements.

Personal tools