|go ahead... be a heretic|
Tailor Selenium IDE export to perlby nubbel (Novice)
|on Dec 13, 2012 at 09:48 UTC||Need Help??|
nubbel has asked for the
wisdom of the Perl Monks concerning the following question:
i want to tailor the export routine from Selenium IDE to perl, to use some selfe declared functions instead of the standard once.
If i check the heading of a web page, following code will be produced (out of the box) by the export routine:
$sel->text_is( "css=h1", "OnLine Catalog", "Check heading" );
I worte some functions for my framework, which increase this checks. Instead of "text_is" i want to use my "fw_text_check", which has exacly the same parameters. Of course, this can be done by search and replace, but it woud be more convinient to pimp the export routine.