public class Frame extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected com.applitools.eyes.Location |
location |
protected com.applitools.eyes.Location |
parentScrollPosition |
protected org.openqa.selenium.WebElement |
reference |
protected com.applitools.eyes.RectangleSize |
size |
| Constructor and Description |
|---|
Frame(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 org.openqa.selenium.WebElement reference
protected String id
protected com.applitools.eyes.Location location
protected com.applitools.eyes.RectangleSize size
protected com.applitools.eyes.Location parentScrollPosition
public Frame(org.openqa.selenium.WebElement reference,
String frameId,
com.applitools.eyes.Location location,
com.applitools.eyes.RectangleSize size,
com.applitools.eyes.Location parentScrollPosition)
reference - The web element for the frame, used as a reference to
switch into the frame.parentScrollPosition - The scroll position the frame's parent was
in when the frame was switched to.frameId - The id of the frame. Can be used later for comparing
two frames.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 © 2014. All rights reserved.