public class SingleUserInteraction extends CompositeWebTask implements RunnableTask
The only thing required is to inject a WebUser
with a SupportedBrowser
.
E.g.:
WebUser user = new WebUser().withBrowserType(SupportedBrowser.CHROME);
SingleUserInteraction sui = .. ;
sui.setUser(user);
new Thread(sui).start();
logger, user
Constructor and Description |
---|
SingleUserInteraction(List<WebTask> subtasks) |
SingleUserInteraction(WebTask... subtasks) |
Modifier and Type | Method and Description |
---|---|
void |
run()
Open the browser, execute this task, and finally close the browser.
|
append, iterator, run
browser, driver, getUser, setUser
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUser, or, run, setUser
forEach, spliterator
public SingleUserInteraction(WebTask... subtasks)
public void run()
run
in interface Runnable
run
in interface RunnableTask
Copyright © 2015. All rights reserved.