Mutate a script so that variable declarations have the correct scope.
The original, unmodified script is used to generate a script
on the StringBuilder, the "ToString" method of which should be
used to get the result. We make use of a StringBuilder rather than a
normal String so that we can efficiently chain mutators.
Namespace: Selenium.Internal.SeleniumEmulationAssembly: Selenium.WebDriverBackedSelenium (in Selenium.WebDriverBackedSelenium.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
public void Mutate( string script, StringBuilder outputTo )
Parameters
- script
- Type:
System String
The original script.
- outputTo
- Type:
System.Text StringBuilder
The mutated script.
Implements
IScriptMutator Mutate(String, StringBuilder)See Also