/// <summary> /// Submit a webelement /// </summary> public void Submit() { try { WrappedElement.Submit(); } catch (StaleElementReferenceException e) { if (Driver != null && by != null) { Logger.Info("Caught exception {0}. Attempting to re-initialize element", e.Message); InitializeElement(); WrappedElement.Submit(); } else { throw; } } catch (Exception e) { Logger.Error(e); throw; } Logger.Info("Entered Submit in the webelement : {0}", by); }
public UpWebElement Submit() { UpDriver.WaitForPageReady(); Log.GetLogger().Info($"Submitting element [{ElementIdentifier}]"); WrappedElement.Submit(); return(this); }
/// <summary> /// Submits this element to the web server. /// </summary> /// <remarks> /// If this current element is a form, or an element within a form,. /// then this will be submitted to the web server. If this causes the current. /// page to change, then this method will block until the new page is loaded. /// </remarks> public void Submit() { Logger.WriteLine(string.Format(CultureInfo.InvariantCulture, "Submit element '{0}'", Name)); WrappedElement.Submit(); }
public void Submit() { WrappedElement.Submit(); }
/// <summary> /// Submits this element to the web server. /// </summary> public void Submit() { NgDriver.WaitForAngular(); WrappedElement.Submit(); }