How to execute java script while testing web pages using chrome console.
It is often required to test java script while testing web application via browser. You can execute and test java script functions same time while testing web pages in Chrome Console.
Step 1: Got to Chrome -> More Tools -> Developer Tools -> Console
Step 2: In the console, write new java script to test it, or call a java script function from the console that is already defined in the web page.
For further reading refer Apache Wicket Web Development Category posts.