def test_javascript_execution(self):
        random_string = "".join(random.sample(string.ascii_letters, 32))
        javascript = "document.body.innerHTML += '{}'".format(random_string)
        self.app.evaluate_javascript(javascript)
        assert random_string in self.app.html
dataset/ETHPy150Open amol-mandhane/htmlPy/tests/base_gui_javascript.py/BaseGUIJavascript.test_javascript_execution/original