Open Bug 1833636 Opened 2 years ago Updated 1 years ago

[wdspec] Implement cross-browser tests for "session.new" command

Categories

(Remote Protocol :: WebDriver BiDi, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: Sasha, Unassigned)

References

(Depends on 1 open bug, Blocks 2 open bugs)

Details

Since at the moment, we don't have infrastructure in the wdspec tests to create a bidi-only session, in the scope of bug 1731730 for "session.new" command we introduced only gecko specific tests.

In the scope of this bug, we should prepare the infrastructure and migrate gecko specific tests.

Some points to consider:

  • in wdspec tests we directly talk to Firefox while chrome has chromedriver sitting in-between. Probably we need the same as well for geckodriver when we want to have BiDi only support and get it tested on Android. Then geckodriver could forward the WebSocket to the device.
  • we could in theory port the concept of browsers/executors to the wdspec tests, so we'd have a "browser" fixture that would know how to launch each specific browser (or driver). (browser fixture, used for gecko specific tests). But that would require a bit more work.
Blocks: 1719290
Depends on: 1731730
Whiteboard: [webdriver:triage]
Whiteboard: [webdriver:triage]

The infrastructure part is moved to bug1836785.
As soon as that bug is done, we should migrate session.new geckodriver specific tests to make them cross-browser.

Depends on: 1836785
Priority: -- → P3
Blocks: 1838266
You need to log in before you can comment on or make changes to this bug.