Weasel::FindExpanders::Dojo(3pm) | User Contributed Perl Documentation | Weasel::FindExpanders::Dojo(3pm) |
Weasel::FindExpanders::Dojo - XPath mnemonic hooks for Dojo 1.x widgets
0.02
use Weasel::FindExpanders::Dojo; my $button = $session->find($session->page, "@button|{text=>\"whatever\"}");
Criteria:
* 'id'
* 'name'
* 'text' matches content between open and close tag
Because of that, it's best to search the options through the "select" tag, which offers a "find_option" method which specifically compensates for the issue.
Additionally, it's impossible to search options by the value being submitted; these don't exist in the DOM tree unlike with the "option" tags of "select"s.
Criteria:
* 'id'
* 'text' matches the visible description of the item
2020-12-21 | perl v5.32.0 |