官术网_书友最值得收藏!

Locator prioritization

Prioritization lets you prioritize locators while recording scripts. In general, this feature helps the user by giving high priority to generate scripts with respect to the user's preferred locators. For example, by changing the csslocator order from the fifth to the first position, the further elements generated on the Selenium IDE's target will be in CSS, that is, the locatorType will be set to CSS by default.

An example of this is CSS = argument.

Launch the Selenium IDE, choose Options... from the Options menu, and switch to the Locator Builders tab. The left-hand pane will be mounted with a list of available locator builders, such as, ui, id, link, name, css, dom:name, xpath:link, xpath:img, xpath:attributes, xpath:idRelative, xpath:href, dom:index, and xpath:position. The list of available locator builders is shown in the following screenshot:

Locator prioritization

Drag and drop locator builders on the left-hand side to change their order. Finally, click on the OK button, and restart the Selenium IDE for the changes to take effect. To reset the default settings of the Selenium IDE, click on the Reset option found in the bottom-left corner of the Selenium IDE options window pane.

主站蜘蛛池模板: 留坝县| 兰考县| 全南县| 华安县| 逊克县| 酉阳| 乡城县| 合肥市| 阿坝县| 巍山| 南丰县| 长治市| 合江县| 溧水县| 温泉县| 佛学| 唐山市| 尚志市| 龙门县| 隆子县| 萨嘎县| 永川市| 大竹县| 内江市| 神木县| 太保市| 巴南区| 平利县| 连州市| 夏河县| 瑞金市| 宝山区| 六盘水市| 遵义县| 弥勒县| 灵山县| 蛟河市| 黄山市| 岳池县| 万荣县| 革吉县|