Overlapping text and icons
Logs text in the window that overlaps an icon or other text.
Nothing to set up: it's on by default, so a plain elsetest --url staging.example.com already uses it. The options below are for fine-tuning.
This is Elsetest's Overlap plugin. It runs as the instance CheckOverlap.
Like every plugin, it gets its turn at random: in each step of a test, one plugin instance is picked, weighted by its frequency. Raise it to check more often.
Options
Set them for one instance with --plugin alias=<alias> key=value, or for every instance of the plugin with --plugin name=Overlap key=value. In a config file, each --plugin is an object in "plugins", e.g.:
{
"plugins": [
{ "alias": "CheckOverlap", "ignoreSelector": ".carousel" }
]
}
A selector says which elements of the page an option is about, e.g. #chat-widget or .cookie-banner button: see Selectors.
frequency
--plugin alias=CheckOverlap frequency=<level>
How often the plugin runs compared to the others.
ignoreSelector
--plugin alias=CheckOverlap ignoreSelector=<selector>
Don't log overlaps of elements matching this CSS selector, or inside them. The site can also mark the elements in its HTML with the attribute data-elsetest-overlap-ignore.
Default instances
| Alias | The options it sets |
|---|---|
CheckOverlap | frequency=low |
Other plugins
Accessibility · Ai · BrokenText · Click · Cluster · History · Login · MutationCluster · Scroll · SelectOption · Spelling · Type · Validate
This page is generated from the help texts of Elsetest 0.9.8. The same help is in the program: elsetest --help.