SeleniumHQ / SeleniumHQ/selenium

[🚀 Feature]: Adding BiDi in DefinitelyTyped

Open
#11,670 14 comments 1 reaction 0 assignees View on GitHub
B-devtools C-nodejs I-enhancement J-stale
Dominant language
Java
Stars
34.5k
Forks
8.7k
Avg merge
2d 1h
Merged PRs (30d)
92

Description

### Feature and motivation

First I want to thank you for introducing [Bidi Support](https://github.com/SeleniumHQ/selenium/pull/11395) and [Browsing context commands](https://github.com/SeleniumHQ/selenium/pull/11473).
It will be great if the features above are present in [DefinitelyTyped](https://github.com/TamsilAmani/DefinitelyTyped/tree/master/types/selenium-webdriver) so we can use it in TypeScript projects.

### Usage example

```
beforeEach(async function () {
driver = await env
.builder()
.setFirefoxOptions(new firefox.Options().enableBidi())
.build()
})
```
Do not compile in TS project because `enableBidi()` is not present in DefinitelyTyped.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.