Skip to content

Commit

Permalink
fixed description of TakeScreenShotOfElement
Browse files Browse the repository at this point in the history
  • Loading branch information
raczeja committed Jul 16, 2018
1 parent 548ecc7 commit 82108e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Objectivity.Test.Automation.Common/Helpers/TakeScreenShot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public static string Save(Bitmap bitmap, ImageFormat format, string folder, stri
/// <returns>Full path to taken screenshot</returns>
/// <example>How to use it: <code>
/// var el = this.Driver.GetElement(this.menu);
/// TakeScreenShot.TakeScreenShotOfElement(el, TestContext.CurrentContext.TestDirectory + BaseConfiguration.ScreenShotFolder, "MenuOutSideTheIFrame");
/// var fullPath = TakeScreenShot.TakeScreenShotOfElement(el, TestContext.CurrentContext.TestDirectory + BaseConfiguration.ScreenShotFolder, "MenuOutSideTheIFrame");
/// </code></example>
public static string TakeScreenShotOfElement(IWebElement element, string folder, string screenshotName)
{
Expand All @@ -133,7 +133,7 @@ public static string TakeScreenShotOfElement(IWebElement element, string folder,
/// int y = iFrame.Location.Y;
/// this.Driver.SwitchTo().Frame(0);
/// var el = this.Driver.GetElement(this.elelemtInIFrame);
/// TakeScreenShot.TakeScreenShotOfElement(el, TestContext.CurrentContext.TestDirectory + BaseConfiguration.ScreenShotFolder, "MenuOutSideTheIFrame");
/// var fullPath = TakeScreenShot.TakeScreenShotOfElement(x, y, el, TestContext.CurrentContext.TestDirectory + BaseConfiguration.ScreenShotFolder, "MenuOutSideTheIFrame");
/// </code></example>
public static string TakeScreenShotOfElement(int iframeLocationX, int iframeLocationY, IWebElement element, string folder, string screenshotName)
{
Expand Down

0 comments on commit 82108e9

Please sign in to comment.