"Fossies" - the Fresh Open Source Software Archive

Member "selenium-selenium-4.8.1/common/src/web/rc/tests/TestGet.html" (17 Feb 2023, 2067 Bytes) of package /linux/www/selenium-selenium-4.8.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    2 <!--
    3 Copyright 2011-2015 Software Freedom Conservancy
    4 
    5  Licensed under the Apache License, Version 2.0 (the "License");
    6  you may not use this file except in compliance with the License.
    7  You may obtain a copy of the License at
    8 
    9      http://www.apache.org/licenses/LICENSE-2.0
   10 
   11  Unless required by applicable law or agreed to in writing, software
   12  distributed under the License is distributed on an "AS IS" BASIS,
   13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   14  See the License for the specific language governing permissions and
   15  limitations under the License.
   16 -->
   17 <html>
   18 <head>
   19 <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
   20 <title>TestGet</title>
   21 </head>
   22 
   23 <body>
   24 <table cellpadding="1" cellspacing="1" border="1">
   25   <tbody>
   26     <tr>
   27       <td rowspan="1" colspan="3">TestGet<br>
   28       </td>
   29     </tr>
   30     <!-- test API getters -->
   31 
   32     <tr>
   33       <td>open</td>
   34       <td>../tests/html/test_get.html</td>
   35       <td>&nbsp;</td>
   36     </tr>
   37 
   38     <!-- IE uppercases the property names of the style.
   39          Firefox lowercases the property names of the style.
   40          IE omits the trailing semicolon. -->
   41     <tr>
   42       <td>verifyAttribute</td>
   43       <td>//img[@alt='banner']@style</td>
   44       <td>regexp:(width|WIDTH): 644px; (height|HEIGHT): 41px(;?)</td>
   45     </tr>
   46 
   47     <!-- This asserts on the current behavior of selArrayToString(). Commas and
   48          backslashes are escaped in array values. Backslash-craziness!! -->
   49     <tr>
   50       <td>verifySelectOptions</td>
   51       <td>selectWithFunkyValues</td>
   52       <td>foo*</td>
   53     </tr>
   54     <tr>
   55       <td>verifySelectOptions</td>
   56       <td>selectWithFunkyValues</td>
   57       <td>javascript{ [ 'foo', '\\,\\\\bar\\\\\\,', '*baz*' ].join(',') }</td>
   58     </tr>
   59     <tr>
   60       <td>verifySelectOptions</td>
   61       <td>selectWithFunkyValues</td>
   62       <td>javascript{ 'regexp:' + [ 'foo', '\\\\,\\\\\\\\bar\\\\\\\\\\\\,', '\\u00a0{2}baz\\u00a0{2}' ].join(',') }</td>
   63     </tr>
   64   </tbody>
   65 </table>
   66 </body>
   67 </html>