Skip to content

[py] deprecate all but Options and Service arguments in driver instantiation. #9125

@AutomatedTester

Description

@AutomatedTester

🐛 Bug Report

We need the Chrome/Chromium/Ie webdriver.py class initialisation to only take Service and Options classes.

To get there we need to deprecate the rest of the arguments

Note: Remote doesn't need this deprecation, at least just yet.

To run the tests you need to bazel test //py:test-chrome

To Reproduce

Just read the code

Detailed steps to reproduce the behavior:

Expected behavior

A cleaner __init__ is expected.

Test script or set of commands reproducing this issue

Environment

OS: All
Browser: All
Browser version:
Browser Driver version: all
Language Bindings version: python
Selenium Grid version (if applicable):

Metadata

Metadata

Labels

C-pyPython Bindings

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions