Skip to content

Commit

Permalink
[py] remove deprecated verbose argument from edge service
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Jan 17, 2024
1 parent d14f7c0 commit 4513ea9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 33 deletions.
10 changes: 0 additions & 10 deletions py/selenium/webdriver/edge/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# specific language governing permissions and limitations
# under the License.
import typing
import warnings

from selenium.types import SubprocessStdAlias
from selenium.webdriver.chromium import service
Expand All @@ -38,22 +37,13 @@ def __init__(
self,
executable_path: str = None,
port: int = 0,
verbose: bool = False,
log_output: SubprocessStdAlias = None,
service_args: typing.Optional[typing.List[str]] = None,
env: typing.Optional[typing.Mapping[str, str]] = None,
**kwargs,
) -> None:
self.service_args = service_args or []

if verbose:
warnings.warn(
"verbose=True is deprecated. Use `service_args=['--verbose', ...]` instead.",
DeprecationWarning,
stacklevel=2,
)
self.service_args.append("--verbose")

super().__init__(
executable_path=executable_path,
port=port,
Expand Down
23 changes: 0 additions & 23 deletions py/test/unit/selenium/webdriver/edge/edge_service_tests.py

This file was deleted.

0 comments on commit 4513ea9

Please sign in to comment.