public SubmittedBackendIpRegulationForm Submit(EditBackendIpRegulationData data)
        {
            _ipAddressField.SendKeys(data.IpAddress);

            _descriptionField.SendKeys(data.Description);
            _saveButton.Click();
            var submittedForm = new SubmittedBackendIpRegulationForm(_driver);

            submittedForm.Initialize();
            return(submittedForm);
        }
        public SubmittedBackendIpRegulationForm Submit(BackendIpRegulationData data)
        {
            _ipAddressField.SendKeys(data.IpAddress);
            if (data.AdvancedSettings)
            {
                _advancedSettingsCheckbox.Click();
                _multipleIpAddresses.SendKeys(data.MultipleAddresses);
            }
            _descriptionField.SendKeys(data.Description);
            _saveButton.Click();
            var submittedForm = new SubmittedBackendIpRegulationForm(_driver);

            submittedForm.Initialize();
            return(submittedForm);
        }