Appium

 view release on metacpan or  search on metacpan

lib/Appium/Android/CanPage.pm  view on Meta::CPAN

}

sub _inspect_nodes {
    my ($self, @nodes) = @_;

    # A node is interesting if it has a text, id, or content-desc
    # attribute.
    my $interesting_attrs = [ qw/text resource-id content-desc/ ];

    foreach my $node (@nodes) {
        # The inspect output for a single node looks like:
        #
        # $class_of_node
        #    text: $node_text
        #    resource-id: $node_id
        #    content-desc: $node_desc
        #
        # We'll keep the lines in an array that we push on to whenever
        # we find interesting things about the node
        my @inspect_output = ( $node->getAttribute('class') );



( run in 0.487 second using v1.01-cache-2.11-cpan-64827b87656 )