예제 #1
0
        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));
        }
예제 #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);