Package | Description |
---|---|
org.safs.cukes.ai.selenium | |
org.safs.selenium.webdriver.lib |
Modifier and Type | Field and Description |
---|---|
protected static java.util.List<Arbre<SearchObject.FrameElement>> |
AISearchBase.frames
a list of frame nodes, each node contains its parent frames to the root.
|
protected static Arbre<SearchObject.FrameElement> |
AISearchBase.frameTree
the frame tree of the whole html document
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<Arbre<SearchObject.FrameElement>> |
AISearchBase.initializeFrames(org.openqa.selenium.WebDriver selenium)
This method will
generate the frame-tree and assign it to static field
AISearchBase.frameTree
traverse the AISearchBase.frameTree in pre-order and put each frame node into a static list AISearchBase.frames
|
Modifier and Type | Field and Description |
---|---|
protected static SearchObject.FrameElement |
SearchObject.lastFrame
The frame object where the current GUI-component locates.
|
Modifier and Type | Method and Description |
---|---|
static SearchObject.FrameElement |
SearchObject.getLastFrame()
The frame object where the current GUI-component locate.
|
SearchObject.FrameElement |
SearchObject.FrameElement.getParentFrame() |
static SearchObject.FrameElement |
SearchObject.switchFrameAsLastFrame(org.openqa.selenium.WebDriver webdriver,
java.lang.String frameRS)
Switch to a certain frame according to the parameter frameRS.
Also sets/replaces/clears the lastFrame FrameElement accordingly. |
Modifier and Type | Method and Description |
---|---|
static Arbre<SearchObject.FrameElement> |
SearchObject.getFrameTree(org.openqa.selenium.WebDriver selenium)
Generate a Tree object holding all the frames on the web page.
|
Modifier and Type | Method and Description |
---|---|
protected static boolean |
SearchObject._switchByFrameElement(org.openqa.selenium.WebDriver webdriver,
SearchObject.FrameElement frameElement)
Switch frame context.
|
static void |
SearchObject.setLastFrame(SearchObject.FrameElement lastFrame)
Note: User should be very careful when calling this method,
it will change the whole searching context!!!
Set the frame object where the current GUI-component locate. |
Modifier and Type | Method and Description |
---|---|
static boolean |
SearchObject.switchToFrame(Arbre<SearchObject.FrameElement> frameNode,
org.openqa.selenium.WebDriver selenium)
Switch to a certain frame.
|
static void |
SearchObject.traverseFrameTree(Arbre<SearchObject.FrameElement> frameTree,
java.util.List<Arbre<SearchObject.FrameElement>> frames)
Pre-order traverse the tree and add each tree node into a list.
|
static void |
SearchObject.traverseFrameTree(Arbre<SearchObject.FrameElement> frameTree,
java.util.List<Arbre<SearchObject.FrameElement>> frames)
Pre-order traverse the tree and add each tree node into a list.
|
Constructor and Description |
---|
FrameElement(SearchObject.FrameElement parentFrame,
org.openqa.selenium.WebElement frame) |
Copyright © SAS Institute. All Rights Reserved.