Skip to content

Instantly share code, notes, and snippets.

@sayems
Created January 21, 2013 13:54
Show Gist options
  • Select an option

  • Save sayems/4586217 to your computer and use it in GitHub Desktop.

Select an option

Save sayems/4586217 to your computer and use it in GitHub Desktop.
var script = "some javascript";
var js = driver as IJavaScriptExecutor;
var isDataCorrect = js.ExecuteScript(script);
Assert.True(isDataCorrect);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment