I have recently already faced a similar issue by using JavascriptExecutor.executeScript(), which also lead to "Permission Denied to access property" error. Finally I ...
Running JavaScriptExecutor in Java code to excute the command "return atob('Rw0K')" in v3.2.0 will decode the string 'Rw0K' into 3 characters - ''G\r\n''. However, after upgrading to v4.13.0, it will ...