Day / November 4, 2016

Of course, you know¬†dangerouslySetInnerHTML attribute. This is very useful when you need to insert a custom own HTML in your page. …is React’s replacement for using innerHTML in the browser DOM. In general, setting HTML from code is risky because it’s easy to inadvertently expose your users to a cross-site scripting (XSS) attack. So, you […]

Read More

If you are using Nightwatch JS to test a website and you need to test an anchor nested in a unsorted list, be sure to add the name attribute in the anchor, otherwise, the click command will fail.

Read More