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, runbrowser, driver, getUser, setUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUser, or, run, setUserforEach, spliteratorpublic SingleUserInteraction(WebTask... subtasks)
public void run()
run in interface Runnablerun in interface RunnableTaskCopyright © 2015. All rights reserved.