Image element

Image elements let you add images to the page:


newImage("myImage", "http://myserver/image.png")

By default, PennController is set to preload all resources, which means the trial will not start until the images are stored in the browser’s cache.

You can omit the host URL if:

  • you have already added it to the list of host URLs with the command PennController.AddHost.
  • or, the image file is contained in a Zip file (see the Using Zip files page)

newImage("image", "image.png")


[yadawiki-list category=”NonTest command,Image element”]


[yadawiki-list category=”Test command,Image element”]