/** * Specifies whether HttpUnit should automatically follow page refresh requests. * By default, this is false, so that programs can verify the redirect page presented * to users before the browser switches to the new page. Setting this to true can * cause an infinite loop on pages that refresh themselves. * @deprecated as of 1.5.3, use ClientProperties#setAutoRefresh(); **/ public static void setAutoRefresh( boolean autoRefresh ) { ClientProperties.getDefaultProperties().setAutoRefresh( autoRefresh ); }
/** * Specifies whether HttpUnit should automatically follow page refresh requests. * By default, this is false, so that programs can verify the redirect page presented * to users before the browser switches to the new page. Setting this to true can * cause an infinite loop on pages that refresh themselves. * @deprecated as of 1.5.3, use ClientProperties#setAutoRefresh(); **/ public static void setAutoRefresh( boolean autoRefresh ) { ClientProperties.getDefaultProperties().setAutoRefresh( autoRefresh ); }
/** * Specifies whether HttpUnit should automatically follow page refresh requests. * By default, this is false, so that programs can verify the redirect page presented * to users before the browser switches to the new page. Setting this to true can * cause an infinite loop on pages that refresh themselves. * @deprecated as of 1.5.3, use ClientProperties#setAutoRefresh(); **/ public static void setAutoRefresh( boolean autoRefresh ) { ClientProperties.getDefaultProperties().setAutoRefresh( autoRefresh ); }