Daniel Jacobs
Daniel Jacobs
See also https://github.com/mdn/browser-compat-data/issues/24186
Maybe try a `cargo update profiling`
There's a lot more files that would need to be changed. A simpler way to fix this might be to change all the functions in https://github.com/ruffle-rs/ruffle/blob/master/web/packages/selfhosted/test/utils.ts that take a WebdriverIO.Element...
The other needed change is `.getHTML(false);` should now be `.getHTML({"includeSelectorTag": false});`. According to https://github.com/webdriverio/webdriverio/blob/e8ae5d8c577c514f571ae8760df43ea0a17ae7e3/packages/webdriverio/src/commands/element/getHTML.ts#L79, they intended backwards compatibility, but the type definitions don't actually lend themselves to that.
Linux command for that change could maybe be this: ```bash grep -rl 'getHTML(false' | xargs sed -i 's/getHTML(false/getHTML({"includeSelectorTag": false}/g' ```
While we can change the code to use the new definitions for `getHTML`, I did open https://github.com/webdriverio/webdriverio/issues/13378
You can use `ChainablePromiseElement`, it's not `WebdriverIO.ChainablePromiseElement` https://github.com/webdriverio/webdriverio/blob/main/packages/webdriverio/src/types.ts#L70
`wdio.conf.ts(218,5): error TS2353: Object literal may only specify known properties, and 'capabilities' does not exist in type 'Testrunner'.` We'll need to consult the documentation for this one. https://github.com/webdriverio/webdriverio/releases/tag/v9.0.0 does mention...
Errors seem to be: ``` Can't transform classic selector tag name to Bidi selector ```
Technically, `ruffle-player` is a valid CSS selector, not ``, so maybe that's the issue. Totally untested though.