- or download this
"*custom C:/path/to/ff/firefox.exe -no-remote -profile C:/selenium/fir
+efox/custom_profile"
- or download this
sub wait_for_JS_function {
my ($self, $func, $timeout) = @_;
...
}
croak "Timed out waiting for JS func: '$func'";
}
- or download this
# Assumes only 1 currently opened window with target _blank
sub select_target_blank_window {
...
croak "Timed out waiting to select blank target window" if ! defin
+ed $window_name;
return $self->select_window($window_name);
}
- or download this
sub set_hidden_parameter {
my ($self, $form, $elem, $val) = @_;
...
my $rc = $self->get_eval('$javascript');
return $rc;
}
- or download this
$sel->type($loc, $val);
$sel->fire_event($loc, 'onblur');