Skip to content

[🐛 Bug]: Error while running tests on IOS simulator #240

Description

@SergeyPirogov

Test framework

WebdriverIO (@wdio/devtools-service)

Test runner

Mocha

DevTools package version

10.6.1

Node.js version

v22.22.3

Browser under test

IOS 16

Where does the bug show up?

Test launch / lifecycle (hooks, session, capabilities)

What went wrong?

0-21] [xmldom error] EntityRef: expecting ;
[0-21] @#[line:1,col:301]
[0-21] [xmldom fatalError] Opening and ending tag mismatch: "link" != "head"
[0-21] @#[line:811,col:167]
[0-21] [xmlToJSON] Failed to parse XML: ParseError: Opening and ending tag mismatch: "link" != "head"

What did you expect instead?

No response

Steps to reproduce

services: [
'intercept',
...(process.env.WDIO_TRACING === 'true'
? [
[
'devtools',
{
mode: 'trace',
traceFormat: 'zip',
traceGranularity: 'spec',
},
] as any,
]
: []),
],

Run tests agains IOS 16.0 simulator

Logs

Before you submit

  • I searched existing issues and didn't find a duplicate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions