Search
Preparing search index...
The search index is not available
confluence-protractor-base
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"page-objects/ConfluenceEditor"
ConfluenceEditor
Class ConfluenceEditor
Hierarchy
ConfluenceBase
ConfluenceEditor
Index
Constructors
constructor
Properties
confluence
Config
editor
Methods
authenticate
authenticate
AsAdmin
cancel
cancel
And
Clear
cancel
And
Discard
Draft
cancel
And
Skip
Alert
confluence
Version
current
Username
disable
Notifications
disable
Synchrony
discard
Draft
IfPresent
discard
Draft
Internal
execute
InEditor
Context
get
Editor
Frame
get
Param
FromAJS
has
Editor
keep
Draft
IfPresent
load
Confluence
Version
login
login
AsAdmin
logout
open
Admin
Page
open
Comment
reset
Confluence
Version
save
skip
Notifications
wait
Until
Editor
Closed
wait
Until
Editor
Opened
Object literals
actions
Constructors
constructor
new
Confluence
Editor
(
)
:
ConfluenceEditor
Returns
ConfluenceEditor
Properties
confluence
Config
confluence
Config
:
function
Type declaration
(
)
:
any
Returns
any
editor
editor
:
ConfluenceEditorFakeInput
Methods
authenticate
authenticate
(
password
?:
string
)
:
void
Parameters
Optional
password:
string
Returns
void
authenticate
AsAdmin
authenticate
AsAdmin
(
)
:
void
Returns
void
cancel
cancel
(
)
:
void
Returns
void
cancel
And
Clear
cancel
And
Clear
(
)
:
void
Returns
void
cancel
And
Discard
Draft
cancel
And
Discard
Draft
(
)
:
void
Returns
void
cancel
And
Skip
Alert
cancel
And
Skip
Alert
(
)
:
void
Returns
void
confluence
Version
confluence
Version
(
)
:
Version
Returns
Version
current
Username
current
Username
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
disable
Notifications
disable
Notifications
(
)
:
void
Returns
void
disable
Synchrony
disable
Synchrony
(
)
:
void
Returns
void
discard
Draft
IfPresent
discard
Draft
IfPresent
(
)
:
void
Returns
void
discard
Draft
Internal
discard
Draft
Internal
(
discardButtonSelector
:
string
)
:
void
Parameters
discardButtonSelector:
string
Returns
void
execute
InEditor
Context
execute
InEditor
Context
(
fn
:
function
)
:
any
Parameters
fn:
function
(
element
:
ElementFinder
)
:
any
Parameters
element:
ElementFinder
Returns
any
Returns
any
get
Editor
Frame
get
Editor
Frame
(
)
:
ElementFinder
Returns
ElementFinder
get
Param
FromAJS
get
Param
FromAJS
(
paramName
:
string
, defaultValue
?:
any
)
:
Promise
<
string
>
Parameters
paramName:
string
Optional
defaultValue:
any
Returns
Promise
<
string
>
has
Editor
has
Editor
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
keep
Draft
IfPresent
keep
Draft
IfPresent
(
)
:
void
Returns
void
load
Confluence
Version
load
Confluence
Version
(
)
:
Promise
<
Version
>
Returns
Promise
<
Version
>
login
login
(
username
?:
string
, password
?:
string
)
:
void
Parameters
Optional
username:
string
Optional
password:
string
Returns
void
login
AsAdmin
login
AsAdmin
(
)
:
void
Returns
void
logout
logout
(
)
:
void
Returns
void
open
Admin
Page
open
Admin
Page
(
path
?:
string
)
:
void
Parameters
Default value
path:
string
= "admin"
Returns
void
open
Comment
open
Comment
(
)
:
void
Returns
void
reset
Confluence
Version
reset
Confluence
Version
(
)
:
void
Returns
void
save
save
(
)
:
void
Returns
void
skip
Notifications
skip
Notifications
(
)
:
void
Returns
void
wait
Until
Editor
Closed
wait
Until
Editor
Closed
(
)
:
Promise
<
Object
>
Returns
Promise
<
Object
>
wait
Until
Editor
Opened
wait
Until
Editor
Opened
(
)
:
Promise
<
Object
>
Returns
Promise
<
Object
>
Object literals
actions
actions
:
object
authenticate
authenticate
:
ConfluenceAction
= new ConfluenceAction({path: "authenticate.action",})
login
login
:
ConfluenceAction
= new ConfluenceAction({path: "login.action",})
logout
logout
:
ConfluenceAction
= new ConfluenceAction({path: "logout.action",})
Globals
"page-
objects/
Confluence
Editor"
Confluence
Editor
constructor
confluence
Config
editor
authenticate
authenticate
AsAdmin
cancel
cancel
And
Clear
cancel
And
Discard
Draft
cancel
And
Skip
Alert
confluence
Version
current
Username
disable
Notifications
disable
Synchrony
discard
Draft
IfPresent
discard
Draft
Internal
execute
InEditor
Context
get
Editor
Frame
get
Param
FromAJS
has
Editor
keep
Draft
IfPresent
load
Confluence
Version
login
login
AsAdmin
logout
open
Admin
Page
open
Comment
reset
Confluence
Version
save
skip
Notifications
wait
Until
Editor
Closed
wait
Until
Editor
Opened
actions
DEFAULT_
ELEMENT_
TIMEOUT
DEFAULT_
LOADING_
TIMEOUT
async
Element
skip
Alert
IfPresent
Generated using
TypeDoc