net
.
kenro
.
ji
.
jin
Session
Related Doc:
package jin
class
Session
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Session
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Session
(
driver:
BaseDriver
,
desiredCapabilities:
Capabilities
=
Capabilities()
,
requiredCapabilities:
Capabilities
=
Capabilities()
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
create
()
:
Unit
def
dispose
()
:
Response
def
elementExists
(
by:
By
)
:
Boolean
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
executeAsyncScript
(
script:
String
,
args:
List
[
String
] =
Nil
)
:
Response
def
executeScript
(
script:
String
,
args:
List
[
String
] =
Nil
)
:
Response
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
findAll
(
by:
By
,
condition:
Condition
,
timeout:
Int
=
getGlobalTimeout
)
:
List
[
WebElement
]
def
findElement
(
by:
By
)
:
WebElement
def
findElements
(
by:
By
)
:
List
[
WebElement
]
def
findFirst
[
T <:
Searcher
]
(
element:
T
,
condition:
Condition
,
timeout:
Int
=
getGlobalTimeout
)
:
Option
[
WebElement
]
def
getActiveElement
:
Option
[
String
]
def
getCapabilities
:
Capabilities
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getGlobalTimeout
:
Int
def
getSessions
:
List
[
Sessions
]
def
getSource
:
Option
[
String
]
def
getStatus
:
ServerStatus
def
getTitle
:
Option
[
String
]
def
getUrl
:
Option
[
String
]
def
getWindowHandle
:
WindowHandle
def
getWindowHandles
:
List
[
WindowHandle
]
var
globalTimeout
:
Int
def
goBack
:
Response
def
goForward
:
Response
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
refresh
:
Response
var
sessionId
:
String
var
sessionUrl
:
String
def
setAllTimeouts
(
timeout:
Int
)
:
Session
def
setAsyncScriptTimeout
(
milliseconds:
Int
)
:
Response
def
setGlobalTimeout
(
timeout:
Int
)
:
Unit
def
setImplicitWaitTimeout
(
milliseconds:
Int
)
:
Response
def
setTimeout
(
timeoutType:
TimeoutType.Value
,
milliseconds:
Int
)
:
Response
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
takeScreenshot
(
outputFile:
String
=
"screenshot.png"
)
:
Unit
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
visitUrl
(
url:
String
)
:
Session
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
waitFor
[
T <:
Searcher
]
(
element:
T
,
condition:
Condition
=
Condition.isClickable
,
timeout:
Int
=
getGlobalTimeout
)
:
WebElement
def
waitForFunction
(
runnable: () ⇒
Result
,
timeout:
Int
=
getGlobalTimeout
)
:
Unit
def
waitForUrl
(
expectedUrl:
String
,
timeout:
Int
=
getGlobalTimeout
)
:
Unit
Inherited from
AnyRef
Inherited from
Any
Ungrouped