public class Frame extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected com.applitools.eyes.Location |
location |
protected com.applitools.eyes.Logger |
logger |
protected com.applitools.eyes.Location |
parentScrollPosition |
protected org.openqa.selenium.WebElement |
reference |
protected com.applitools.eyes.RectangleSize |
size |
| Constructor and Description |
|---|
Frame(com.applitools.eyes.Logger logger,
org.openqa.selenium.WebElement reference,
String frameId,
com.applitools.eyes.Location location,
com.applitools.eyes.RectangleSize size,
com.applitools.eyes.Location parentScrollPosition) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
com.applitools.eyes.Location |
getLocation() |
com.applitools.eyes.Location |
getParentScrollPosition() |
org.openqa.selenium.WebElement |
getReference() |
com.applitools.eyes.RectangleSize |
getSize() |
protected final com.applitools.eyes.Logger logger
protected final org.openqa.selenium.WebElement reference
protected final String id
protected final com.applitools.eyes.Location location
protected final com.applitools.eyes.RectangleSize size
protected final com.applitools.eyes.Location parentScrollPosition
public Frame(com.applitools.eyes.Logger logger,
org.openqa.selenium.WebElement reference,
String frameId,
com.applitools.eyes.Location location,
com.applitools.eyes.RectangleSize size,
com.applitools.eyes.Location parentScrollPosition)
logger - A Logger instance.reference - The web element for the frame, used as a reference to
switch into the frame.frameId - The id of the frame. Can be used later for comparing
two frames.location - The location of the frame within the current frame.size - The entire frame size.parentScrollPosition - The scroll position the frame's parent was
in when the frame was switched to.public org.openqa.selenium.WebElement getReference()
public String getId()
public com.applitools.eyes.Location getLocation()
public com.applitools.eyes.RectangleSize getSize()
public com.applitools.eyes.Location getParentScrollPosition()
Copyright © 2015. All rights reserved.