I need to disable a particular JavaScript function of the main application for which I am creating automated tests using Selenium WebDriver.
Is there a way to do this?
|
I need to disable a particular JavaScript function of the main application for which I am creating automated tests using Selenium WebDriver. Is there a way to do this? |
||||
|
|
|
Selenium is not designed to play in this way. Still on Selenium you can run your own JavaScript functions. In this case you can try override function which you want to disable (e.g. |
|||||
|