#4240 (enable click on object with duplicated name)

You must first sign up to be able to contribute.

Ticket #4240 (closed enhancement: fixed)

Opened 8 years ago

Last modified 8 years ago

enable click on object with duplicated name

Reported by: fullo Assigned to: fabien
Priority: minor Milestone: 1.2.0
Component: tests Version:
Keywords: sfbrowser, form, click Cc:
Qualification: Unreviewed


Sometime should be necessary in a test environment to choose in a page with different links/buttons with same name the right one.

This should be done easily changing 4 lines in sfBrowser.class.php at the click() method and adding a new parameter $position

public function click($name, $arguments = array(), $position = 0)

and then change all lines 531, 537, 543 and 545:




Change History

08/21/08 17:10:59 changed by fabien

  • milestone changed from 1.1.2 to 1.2.0.

08/21/08 17:22:04 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

(In [11019]) [1.2] added the possibility for sfBrowser to click on a link or button when several links or buttons exist with the same name (closes #4240)