// 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.ui.LoadablePage;
import me.alb_i986.selenium.tinafw.ui.WebPage;
package me.alb_i986.selenium.tinafw.tasks;


/**
 * A WebTask implementing a step for navigating to a {@link LoadablePage}.
 */
public abstract class NavigationWebTask extends BaseWebTask {
	
	/**
	 * Navigate to {@link #pageToLoadClass()} and return its instance.
	 * 
	 * @return an instance of {@link #pageToLoadClass()}
	 */
	@Override
// 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/NavigationWebTask.java
import me.alb_i986.selenium.tinafw.ui.LoadablePage;
import me.alb_i986.selenium.tinafw.ui.WebPage;

package me.alb_i986.selenium.tinafw.tasks;


/**
 * A WebTask implementing a step for navigating to a {@link LoadablePage}.
 */
public abstract class NavigationWebTask extends BaseWebTask {
	
	/**
	 * Navigate to {@link #pageToLoadClass()} and return its instance.
	 * 
	 * @return an instance of {@link #pageToLoadClass()}
	 */
	@Override
	public WebPage run(WebPage previousPage) {