SeleniumHQ / selenium

A browser automation framework and ecosystem.
https://selenium.dev
Apache License 2.0
30.18k stars 8.11k forks source link

[🚀 Feature]: Toggle BiDi in tests #14020

Open titusfortner opened 3 months ago

titusfortner commented 3 months ago

Feature and motivation

As we start to convert commands from WebDriver classic to WebDriver BiDi I think we're going to want to run our test suite with BiDi enabled & disabled.

So we need to figure out what it looks like for each of the bindings, and if we tag the tests when BiDi is enabled to just run that subset or how that needs to work (with Bazel).

I'm using an environment variable to toggle in #14012 but I don't think that's right

Usage example

bazel test //java/... --enable-bidi
diemol commented 3 months ago

Java

titusfortner commented 3 months ago

I'm saying that the test suite needs to set or not set that capability based on a parameter passed into bazel