jonhoo / jonhoo/fantoccini

Fix interaction with WebKitDriver

Open
#37 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
135
PR merge metrics
No merged PRs in 30d

Description

Originally reported in https://github.com/jonhoo/fantoccini/issues/36.
Running fantoccini against [WebKitDriver](https://trac.webkit.org/browser/webkit/trunk/Source/WebDriver) currently fails with
```
SessionNotCreated(WebDriverError {
error: SessionNotCreated,
message: "Failed to match capabilities",
stack: "",
delete_session: false
})
```

This seems to stem from [this line](https://trac.webkit.org/browser/webkit/trunk/Source/WebDriver/WebDriverService.cpp?rev=234837#L628) in the WebKitDriver source ([GH mirror link](https://github.com/WebKit/webkit/blob/48b3b6748f3a65d95ffd3a5633e1093299cba14b/Source/WebDriver/WebDriverService.cpp#L628)), but I cannot for the life of me see why `matchedCapabilitiesList` would be empty. Setting `browserName` or other parameters in the `alwaysMatch` capabilities list does not seem to make a difference. I _think_ this might be a bug in WebKitDriver, but some more investigation is probably warranted.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the session-creation failure with WebKitDriver, then inspect WebKitDriver's WebDriverService.cpp around line 628 and fantoccini's capability handling. Done means determining whether the incompatibility is in fantoccini or WebKitDriver and documenting the finding or identifying the required interaction change.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.