Para experimentar os milhares de complementos disponíveis aqui, baixe o Mozilla Firefox, uma maneira rápida e gratuita de navegar na Web!Fechar
Bem-vindo aos Complementos para o Firefox.
Escolha entre milhares de recursos extras e estilos para tornar o Firefox só seu.Fechar
WebDriver Element Locator 2.0.1-signed
This addon is designed to support and speed up the creation of WebDriver scripts by easing the location of web elements.
Este complemento foi marcado como experimental por seus desenvolvedores
Esse complemento não é compatível com a sua versão do Firefox pelos seguintes motivos:
Sobre esse complemento
PLEASE NOTE: To disable any locator types you don't need (E.g. Support, Ruby), just go to Tools>Add-ons (Ctrl+Shift+A), and uncheck them in the addon options.
This extension will attempt to populate the context menu with usable webdriver XPATH-based findElement commands for the dotnet, python and ruby bindings and Support Locator Library references for the focused web element.
To help prevent buggy tests (and save your time debugging), it will also check the locators for uniqueness, signified by red crosses and green ticks.
In addition, if elements have long, fragile, auto-generated attributes such as id="ctl00_ElementContainer_Inputs_txtForename" it will attempt to locate based on the final (and most significant) part of the value only.
If it struggles to locate via attributes it will also attempt to locate via text value.
The next things I'd like to think about are FindElements (with a displayed count), and maybe something to account for iframes. At the moment the addon will suggest a 'green' locator that IS unique in its DOM context, but is dependent on its iframe - causing the locator to fail at runtime if the frame isn't manually SwitchTo'd before location.
As always, any other suggestions are greatly appreciated.