Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion py/selenium/webdriver/common/selenium_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

import json
import logging
import os
Expand All @@ -24,6 +25,8 @@
from pathlib import Path

from selenium.common import WebDriverException
from selenium.webdriver import __version__ as VERSION


logger = logging.getLogger(__name__)

Expand All @@ -35,7 +38,7 @@ class SeleniumManager:
"""

def binary_paths(self, args: list) -> dict:
"""Determines the locations of the requested assets.
"""Builds the Selenium Manager command line argument list and runs it.

Args:
args: the commands to send to the selenium manager binary.
Expand All @@ -48,6 +51,8 @@ def binary_paths(self, args: list) -> dict:
args.append("--debug")
args.append("--language-binding")
args.append("python")
args.append("--selenium-version")
args.append(VERSION)
args.append("--output")
args.append("json")

Expand Down
Loading