While sandbox is enabled, injecting javascript code using ExecuteJavaScript() getting an error at first line of JS code.
[0804/090146.960527:WARNING:display_handler_impl.cc(107)] [JS][https://www.google.com/?gws_rd=ssl](1)Uncaught SyntaxError: Unexpected end of input
If we use --no sandbox flag we do not get any error and can browse.