The type tag for objects was 0.
What is type= text/javascript. Usage in Selenium code. Type Blob type usually MIME-type eg. Lets see the simple example of documentgetElementById method that prints cube of the given number.
JavascriptExecutor jsExecutor JavascriptExecutor driver. In the first implementation of JavaScript JavaScript values were represented as a type tag and a value. Now we use the value command to enter the text first then will get the entered text and print it in the console.