public override bool Equals(object obj)
        {
            var browserConfiguration = (BrowserConfiguration)obj;

            return(ExecutionType.Equals(browserConfiguration?.ExecutionType) &&
                   BrowserType.Equals(browserConfiguration?.BrowserType) &&
                   ShouldCaptureHttpTraffic.Equals(browserConfiguration?.ShouldCaptureHttpTraffic) &&
                   Size.Equals(browserConfiguration?.Size) &&
                   ShouldAutomaticallyScrollToVisible.Equals(browserConfiguration?.ShouldAutomaticallyScrollToVisible) &&
                   IsLighthouseEnabled.Equals(browserConfiguration?.IsLighthouseEnabled));
        }
Exemplo n.º 2
0
 public bool Equals(BrowserConfiguration other) => ExecutionType.Equals(other?.ExecutionType) &&
 BrowserType.Equals(other?.BrowserType) &&
 ShouldCaptureHttpTraffic.Equals(other?.ShouldCaptureHttpTraffic) &&
 Size.Equals(other?.Size) &&
 IsLighthouseEnabled.Equals(other?.IsLighthouseEnabled) &&
 ShouldAutomaticallyScrollToVisible.Equals(other?.ShouldAutomaticallyScrollToVisible);