"binary" and "androidPackage" capabilities should be mutual exclusive
Categories
(Testing :: geckodriver, defect, P3)
Tracking
(firefox98 fixed)
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
Attachments
(1 file)
Right now it's possible to pass both capabilities into New Session
. As best geckodriver should fail and return a session not created
error.
Assignee | ||
Comment 1•3 years ago
|
||
It's only allowed to specify a desktop binary or an
Android package to start.
Depends on D137560
Updated•3 years ago
|
Assignee | ||
Comment 4•3 years ago
|
||
The problem here is that raptor-browsertime actually sets both the binary
and androidPackage
to workaround a selenium-webdriver
issue:
This workaround was added around 2 years ago by bug 1565316. I'm going to push a try with these lines removed given that a lot has been changed in these 2 years and it might not be necessary anymore.
https://treeherder.mozilla.org/jobs?repo=try&revision=8cfeb10378b7b35615c7988821501388bfc7d7ec
Assignee | ||
Comment 5•3 years ago
|
||
The problem is still present with browsertime as the above try build demonstrates.
After some local checks I found out that the problematic piece is actually here:
https://github.com/sitespeedio/browsertime/blob/1fe163e18073e9e4d149c171f27bd26d2205f876/lib/firefox/webdriver/builder.js#L175-L177
Peter, can you please explain why a binary gets set in case of Android? It would be great if we can get this removed so that we can land our patch for geckodriver.
Comment 6•3 years ago
|
||
I think the reason is that we had Firefox support before we had Android Firefox support, so that was no thing in the beginning. I can fix that for the next release.
Assignee | ||
Comment 7•3 years ago
|
||
Thanks a lot! So we can indeed wait until the next browsertime release and then land again.
Assignee | ||
Comment 8•3 years ago
|
||
A new browsertime release has been made with the fix included. I'm going to file a new bug for Raptor to get the used browsertime version updated (hint: run the command ./mach browsertime --update-upstream-url <TARBALL-URL>
).
Comment 10•3 years ago
|
||
bugherder |
Description
•