-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Description
🐛 Bug Report
The example config.toml file in the readme for the dynamic grid setup configures the edge containers as msedge instead of the new name MicrosoftEdge. If one uses EdgeOptions() from selenium 4, one cannot directly connect to these containers (one can change browserName as a workaround`).
To Reproduce
- Start the
docker-compose-v3-dynamic-grid.ymlusing theconfig.tomlfrom the readme. - Start a script using selenium 4 and EdgeOptions
- Capability cannot be fulfilled
Expected behavior
Edge Container should successfully start/names in this repository and other selenium repositories should be consistent.
Changing {\"browserName\": \"msedge\"}" to {\"browserName\": \"MicrosoftEdge\"}" in config.toml fixes the problem.
Test script reproducing this issue
import os
from selenium import webdriver
grid_url = "http://localhost:4444/wd/hub"
def get_driver():
return webdriver.Remote(
command_executor=grid_url,
options=webdriver.EdgeOptions())
try:
driver = get_driver()
try:
driver.get("https://example.com")
except Exception as e:
print(e)
finally:
try:
driver.quit()
except Exception as e:
print("Fatal error", e)Environment
OS: Linux
Docker-Selenium image version: 4.0.0-beta-3
Python-selenium version: 4.0.0b3
Metadata
Metadata
Assignees
Labels
No labels