Skip to content

Commit

Permalink
credit claim bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BySuspect committed Oct 25, 2024
1 parent b46c6e4 commit fdc0884
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Views/MainView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ private Task runClaimProgress(UserModel user)
options.AddArgument("--headless=new");
}
options.AddArguments("--window-size=1,1");
options.AddArgument("--force-device-scale-factor=0.50");
options.AddArgument("--force-device-scale-factor=0.70");
options.AddArgument("--enable-automation");
options.AddArgument("--disable-extensions");
options.AddArgument("--log-level=OFF");
Expand All @@ -143,7 +143,7 @@ private Task runClaimProgress(UserModel user)

// Some driver improvements
driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(3);
driver.Manage().Window.Size = new System.Drawing.Size(2000, 1600);
driver.Manage().Window.Size = new System.Drawing.Size(1500, 3000);

/* Login */

Expand Down Expand Up @@ -431,7 +431,7 @@ private Task runClaimProgress(UserModel user)
driver
.FindElement(
By.XPath(
"//*[@id=\"root\"]/div[2]/div[2]/div/div/div/div/div[2]/div[1]/div[2]/div/a[4]"
"//*[@id=\"root\"]/div[1]/div[2]/div/div/div/div/div[2]/div[1]/div[2]/div/a[4]"
)
)
.Click();
Expand All @@ -441,7 +441,7 @@ private Task runClaimProgress(UserModel user)
driver
.FindElement(
By.XPath(
"//*[@id=\"root\"]/div[2]/div[2]/div/div/div/div/div[2]/div[1]/div[2]/div/a[4]"
"//*[@id=\"root\"]/div[1]/div[2]/div/div/div/div/div[2]/div[1]/div[2]/div/a[4]"
)
)
.GetAttribute("aria-selected")
Expand Down

0 comments on commit fdc0884

Please sign in to comment.