CHAPTER 19

image

WYSIWYG Editor

WYSIWYG (an acronym for what you see is what you get) HTML editors are widely used in web applications as embedded text editor. In this chapter, we use Selenium WebDriver to test several popular WYSIWYG HTML editors.

TinyMCE

TinyMCE is a web-based WYSIWYG editor. It claims to be the most used WYSIWYG editor in the world, used by millions. Its interface is shown in Figure 19-1.

9781484217412_Fig19-01.jpg

Figure 19-1. The TinyMCE interface

The rich text is rendered inside an inline frame within TinyMCE. To test it, we need to switch to that frame. ...

Get Selenium WebDriver Recipes in C#, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.