Class: SeleniumCheckSettingsPlatform: Selenium 3Language: C# SDK:
Requests that only a region within a selected i-frame should be matched.
eyes.Check(Target.Frame(frameSelector).Region(rect)) eyes.Check(Target.Frame(frameSelector).Region(by)) eyes.Check(Target.Frame(frameSelector).Region(targetElement))
- An object that defines the rectangular area in the window to be matched.
- Any legal Selenium By request.
- An object which defines a region.
- Type: SeleniumCheckSettings
- The value returned is the object that called the method. You can use it to call other methods supported by the object class.
The parameter to the method specifies the region to be matched. The enclosing frame(s) are selected by the previous calls in the chain to Target.Frame. You may only use this method in the chain if the first method in the chain is Target.Frame. You may not call it if the first method in the chain is Target.Window or Target.Region. To match a region within a window, use the method Target.Region as the first method in the Target chain. You may only call this method once in a given chain.