Is it possible to modify the value of a Java variable from within Selenium JavascriptExecutor?
I know it is possible to access Java variables inside JavascriptExecutor as '"+myjavavar+"' but how do we modify it?
If I use '"+myjavavar+"'= somenewvalue; it fails with error "invalid assignment left-hand side".
JavascriptExecutor, right?