is_link should check for the a tag

Bug #856154 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
selenium-simple-test
Fix Released
Undecided
Leo Arias

Bug Description

I think that the is_link function should check if the element is inside an a tag, and not for the href.

We have the following link without href:
<a id="upload-file-button" class="add-button">Upload file</a>

I would like to click it with link_click, but it will fail with the current implementation of is_link.

This is low priority, as now I can click it calling element_click.

Related branches

Leo Arias (elopio)
Changed in selenium-simple-test:
status: New → Triaged
assignee: nobody → Leo Arias (elopio)
status: Triaged → In Progress
Changed in selenium-simple-test:
status: In Progress → Fix Committed
Vincent Ladeuil (vila)
Changed in selenium-simple-test:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.