Skip to content

Commit

Permalink
undo temp code
Browse files Browse the repository at this point in the history
  • Loading branch information
kblok committed Dec 2, 2024
1 parent c53eae9 commit c020af1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/PuppeteerSharp.Nunit/PuppeteerTestAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ public class PuppeteerTestAttribute : NUnitAttribute, IApplyToTest
private static TestExpectation[] _localExpectations;
private static TestExpectation[] _upstreamExpectations;

public static readonly bool IsChrome = false;
public static readonly bool IsCdp = false;
public static readonly bool IsChrome = Environment.GetEnvironmentVariable("BROWSER") != "FIREFOX";
public static readonly bool IsCdp = string.IsNullOrEmpty(Environment.GetEnvironmentVariable("PROTOCOL")) || Environment.GetEnvironmentVariable("PROTOCOL")!.Equals("cdp");

public static readonly HeadlessMode Headless =
string.IsNullOrEmpty(Environment.GetEnvironmentVariable("HEADLESS_MODE")) ?
Expand Down

0 comments on commit c020af1

Please sign in to comment.