TextRegionSettings class
Platform: Selenium 3Language: Python SDK:
An object of this type is used to pass options to Eyes.extract_text_regions.
Typically, you call the class constructor and then call the methods of this class
chained in a Fluent API style to set the required options.
For more information see Eyes OCR support .
This feature is experimental. Please note that the functionality and/or API may change.
Import statement
from applitools.selenium import TextRegionSettings
Example
Example not yet available.
Constructor
- TextRegionSettings()
- Define a list of string literals or patterns to be searched for using OCR using the Eyes.extract_text_regions method.
- TextRegionSettings()
- Define a list of string literals or patterns to be searched for using OCR using the Eyes.extract_text_regions method.
Methods
- first_only()
- Use this method to define that only the first text found should be returned.
- first_only()
- Use this method to define that only the first text found should be returned.
- ignore_case()
- Define that the pattern should be case insensitive.
- ignore_case()
- Define that the pattern should be case insensitive.