// Path: src/main/java/me/alb_i986/selenium/tinafw/tasks/BaseWebTask.java
// public abstract class BaseWebTask implements WebTask {
// 	
// 	protected static final Logger logger = LogManager.getLogger(WebTask.class);
// 	
// 	protected WebUser user;
// 	
// 	public BaseWebTask() {
// 	}
// 
// 	@Override
// 	public WebTask setUser(WebUser user) {
// 		if(user == null)
// 			throw new IllegalArgumentException("user is null");
// 		this.user = user;
// 		return this;
// 	}
// 
// 	@Override
// 	public WebUser getUser() {
// 		return user;
// 	}
// 
// 
// 	/**
// 	 * Convenience method for retrieving the underlying {@link Browser}
// 	 * associated to the user this task runs as.
// 	 * 
// 	 * @return the underlying {@link Browser}
// 	 */
// 	protected Browser browser() {
// 		if(user == null)
// 			throw new IllegalStateException("User is null");
// 		return user.getBrowser();
// 	}
// 
// 	/**
// 	 * Convenience method for retrieving the underlying {@link WebDriver}
// 	 * associated to the user this task runs as.
// 	 * 
// 	 * @return the underlying {@link WebDriver}
// 	 */
// 	protected WebDriver driver() {
// 		if(browser() == null)
// 			throw new IllegalStateException("Browser is null");
// 		return browser().getWebDriver();
// 	}
// 
// }
// 
// Path: src/main/java/me/alb_i986/selenium/tinafw/ui/WebPage.java
// public interface WebPage {
// 
// 	/**
// 	 * @see Config#getBaseUrl()
// 	 */
// 	public final static String BASE_URL = Config.getBaseUrl();
// 	
// 
// 	/**
// 	 * @see WebDriver#getTitle()
// 	 */
// 	public String getTitle();
// 
// 	/**
// 	 * @see WebDriver#getCurrentUrl()
// 	 */
// 	public String getCurrentUrl();
// 
// }


import me.alb_i986.selenium.tinafw.tasks.BaseWebTask;
import me.alb_i986.selenium.tinafw.ui.WebPage;
package me.alb_i986.selenium.tinafw.tasks;


/**
 * Task that opens the browser.
 */
public class MyBrowserIsOpen extends BaseWebTask {

	/**
	 * Open the browser.
	 * 
	 * @param noPage this param won't be considered: may be null
	 * 
	 * @throws IllegalStateException if user has not been set
	 */
	@Override
// Path: src/main/java/me/alb_i986/selenium/tinafw/tasks/BaseWebTask.java
// public abstract class BaseWebTask implements WebTask {
// 	
// 	protected static final Logger logger = LogManager.getLogger(WebTask.class);
// 	
// 	protected WebUser user;
// 	
// 	public BaseWebTask() {
// 	}
// 
// 	@Override
// 	public WebTask setUser(WebUser user) {
// 		if(user == null)
// 			throw new IllegalArgumentException("user is null");
// 		this.user = user;
// 		return this;
// 	}
// 
// 	@Override
// 	public WebUser getUser() {
// 		return user;
// 	}
// 
// 
// 	/**
// 	 * Convenience method for retrieving the underlying {@link Browser}
// 	 * associated to the user this task runs as.
// 	 * 
// 	 * @return the underlying {@link Browser}
// 	 */
// 	protected Browser browser() {
// 		if(user == null)
// 			throw new IllegalStateException("User is null");
// 		return user.getBrowser();
// 	}
// 
// 	/**
// 	 * Convenience method for retrieving the underlying {@link WebDriver}
// 	 * associated to the user this task runs as.
// 	 * 
// 	 * @return the underlying {@link WebDriver}
// 	 */
// 	protected WebDriver driver() {
// 		if(browser() == null)
// 			throw new IllegalStateException("Browser is null");
// 		return browser().getWebDriver();
// 	}
// 
// }
// 
// Path: src/main/java/me/alb_i986/selenium/tinafw/ui/WebPage.java
// public interface WebPage {
// 
// 	/**
// 	 * @see Config#getBaseUrl()
// 	 */
// 	public final static String BASE_URL = Config.getBaseUrl();
// 	
// 
// 	/**
// 	 * @see WebDriver#getTitle()
// 	 */
// 	public String getTitle();
// 
// 	/**
// 	 * @see WebDriver#getCurrentUrl()
// 	 */
// 	public String getCurrentUrl();
// 
// }


// Path: src/main/java/me/alb_i986/selenium/tinafw/tasks/MyBrowserIsOpen.java
import me.alb_i986.selenium.tinafw.tasks.BaseWebTask;
import me.alb_i986.selenium.tinafw.ui.WebPage;

package me.alb_i986.selenium.tinafw.tasks;


/**
 * Task that opens the browser.
 */
public class MyBrowserIsOpen extends BaseWebTask {

	/**
	 * Open the browser.
	 * 
	 * @param noPage this param won't be considered: may be null
	 * 
	 * @throws IllegalStateException if user has not been set
	 */
	@Override
	public WebPage run(WebPage noPage) {