Skip to main content
Active reading [<https://en.wikipedia.org/wiki/HTML>].
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

Write an htmlHTML page with the following code. You will see that in the DOM selenium applies a webdriver attribute in the outerHTML:

<html> <head> <script type="text/javascript"> <!-- function showWindow(){ javascript:(alert(document.documentElement.outerHTML)); } //--> </script> </head> <body> <form> <input type="button" value="Show outerHTML" onclick="showWindow()"> </form> </body> </html>

Write an html page with the following code. You will see that in the DOM selenium applies a webdriver attribute in the outerHTML

<html> <head> <script type="text/javascript"> <!-- function showWindow(){ javascript:(alert(document.documentElement.outerHTML)); } //--> </script> </head> <body> <form> <input type="button" value="Show outerHTML" onclick="showWindow()"> </form> </body> </html>

Write an HTML page with the following code. You will see that in the DOM selenium applies a webdriver attribute in the outerHTML:

<html> <head> <script type="text/javascript"> <!-- function showWindow(){ javascript:(alert(document.documentElement.outerHTML)); } //--> </script> </head> <body> <form> <input type="button" value="Show outerHTML" onclick="showWindow()"> </form> </body> </html>

Source Link
PC3TJ
  • 842
  • 5
  • 16

Write an html page with the following code. You will see that in the DOM selenium applies a webdriver attribute in the outerHTML

<html> <head> <script type="text/javascript"> <!-- function showWindow(){ javascript:(alert(document.documentElement.outerHTML)); } //--> </script> </head> <body> <form> <input type="button" value="Show outerHTML" onclick="showWindow()"> </form> </body> </html>