public class CanCompliment extends BaseWebTask
logger, user
Constructor and Description |
---|
CanCompliment() |
Modifier and Type | Method and Description |
---|---|
WebPage |
run(WebPage previousPage)
Perform this task as the user
WebTask.getUser() . |
CanCompliment |
theGuy(int index) |
CanCompliment |
with(String compliment) |
browser, driver, getUser, setUser
public WebPage run(WebPage previousPage)
WebTask
WebTask.getUser()
.
Precondition: the user must have already been set
(see WebTask.setUser(WebUser)
).previousPage
- the page it is displayed before this task startspublic CanCompliment theGuy(int index)
public CanCompliment with(String compliment)
Copyright © 2015. All rights reserved.