Overload | Description |
---|---|
RunJavaScript<TResult>(String) | Runs the specified JavaScript code in the page's context and returns the result. |
RunJavaScript(String) | Runs the specified JavaScript code in the page's context and returns the result. |
// This example determines whether spell check is enabled using the JavaScript SpellCheck property. var performSpellCheck = browser.Page.RunJavaScript<bool>(@"document.querySelectorAll('.sbdd_b')[0].spellcheck");