my $script = q{ arguments[0].setAttribute(arguments[1], arguments[2]); }; $main::driver->execute_script($script, $element, $attribut, $wert);