| java.lang.Object | |
| ↳ | com.atlassian.confluence.selenium.client.PageView |
A helper for a Page or Blogpost view screen.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Type the given comment in the text comment editor and click save.
| |||||||||||
Clicks the rte comment link.
| |||||||||||
Clicks on an embedded image link and waits for the page to load
| |||||||||||
Clicks the "Permissions" menu item, opening the Permissions dialog.
| |||||||||||
Clicks the permissions "padlock" shown in the metadata area.
| |||||||||||
Counts the number of elements matching the selector in the content
| |||||||||||
Executes a javascript expression to return a value.
| |||||||||||
Returns the number of confluence-embedded-images with the specified class name.
| |||||||||||
Returns a version of
getContent() that should be the same in all browsers. | |||||||||||
Checks if an element on a given page is right-aligned.
| |||||||||||
Returns true if the window is on the view screen for the passed Page.
| |||||||||||
Opens the Manage Watchers dialog on the current page and returns an object
to interact with it.
| |||||||||||
Clicks the "Permissions" menu item, opening the Permissions dialog.
| |||||||||||
Type the given comment in the text comment editor.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Type the given comment in the text comment editor and click save.
| comment | String comment to type |
|---|---|
| waitForPageToLoad | whether to wait for the page to load after save |
Clicks the rte comment link.
| waitForPageToLoad | whether to wait for the page to load after clicking |
|---|
Clicks on an embedded image link and waits for the page to load
Clicks the "Permissions" menu item, opening the Permissions dialog.
Clicks the permissions "padlock" shown in the metadata area. This opens the Permissions dialog.
Counts the number of elements matching the selector in the content
Executes a javascript expression to return a value. There's a jquery variable "content", containing the content node.
Returns the number of confluence-embedded-images with the specified class name.
Returns a version of getContent() that should be the same in all browsers.
The content is:
Checks if an element on a given page is right-aligned.
| element | The DOM element to check alignment of. |
|---|---|
| page | The page object |
Returns true if the window is on the view screen for the passed Page.
Opens the Manage Watchers dialog on the current page and returns an object to interact with it.
Type the given comment in the text comment editor.
| comment | String comment to type |
|---|