How to remove the Javascript script added to webdriver using JavascriptExecutor -


i have executed javascript in webdriver using javascriptexecutor , script remains in document until refresh page. wonder there way remove script or disable after executing once , without refreshing page?

js = (javascriptexecutor) driver; js.executescript(); 


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

android - MPAndroidChart - How to add Annotations or images to the chart -