cobrateam / cobrateam/splinter

can't control edge with debuggerAddress

Open
#1,327 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.7k
Forks
511
PR merge metrics
No merged PRs in 30d

Description

can't control edge opened with debuggerAddress

line 57 in splinter\driver\webdriver\edge.py is:
options = Options() or options

maybe it should be:
options = options or Options()

test code:will open a new edge ,that is not we expected
```
from selenium.webdriver.edge.options import Options
edge_options = Options()
edge_options.add_experimental_option("debuggerAddress", "127.0.0.1:9223")
browser = Browser('edge',options=edge_options)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in splinter/driver/webdriver/edge.py at line 57, then reproduce the issue with the provided Selenium Edge debuggerAddress example. Check the existing Edge driver tests for option handling and add coverage showing that an existing options object is used. Done means the browser attaches to the Edge instance at 127.0.0.1:9223 instead of opening a new one.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.