seleniumjsfjboss-arquillianarquillian-dronegraphene2

How to display/render XHTML source code directly after pasting?


In my current use of Arquillian, it makes a lot of sense to debug functional tests with Graphene (wrapping Selenium) with WebDriver.getPageSource in the debugger which allows to easily copy the XHTML code into the clipboard. However, I need to create a temporary document in an editor, save the file and open it in a browser.

Is there any browser or website which allows to paste XHTML source code and render it (directly or in an IFrame)?


Solution

  • WYSIWYG editors are available for free on websites, e.g. https://html-online.com. Of course, the CSS isn't included, but it won't if the file was saved like described in the question.