Webdriver Load in JS

0
Mendix web client provides mxui.dom.addCss() and mxui.dom.removeCss() inject and eject CSS. What is the recommended way of injecting and ejecting JS code? Thankyou very much
asked
1 answers
2

To inject JS via selenium webdriver, you can use the JavascriptExecutor with the executeScript method. Removing this JS ("ejecting") does not make sense, because the script runs once it is injected.

answered