first_only method

Class: TextRegionSettingsPlatform: Selenium 3Language: Python SDK:

Use this method to define that only the first text found should be returned.

If this method is called with a value of True, only the first match found for each pattern is returned. If it is called with a value of False, all of the matches that are found are returned for each pattern. Calling this value is optional, by default all the matches are returned.

For more information see Eyes OCR support .

This feature is experimental. Please note that the functionality and/or API may change.




This method does not take any parameters.

Return value

This method returns the object that called it so that it can be used to call other methods supportd by this class in a fluent API style.